date: 2026-11-15
label: windows-latest
### os [pwsh]
$ [System.Environment]::OSVersion.VersionString; (Get-CimInstance Win32_OperatingSystem).Caption; $env:PROCESSOR_ARCHITECTURE; python --version; python -c "import platform;print(platform.machine(), platform.platform())"; (Get-ExecutionPolicy -List | Out-String)
Microsoft Windows NT 10.0.26100.0
Microsoft Windows Server 2025 Datacenter
AMD64
Python 3.13.17
AMD64 Windows-2025Server-10.0.26100-SP0
Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Undefined
CurrentUser Undefined
LocalMachine RemoteSigned
[exit 0]
### versions [cmd]
$ ver
Microsoft Windows [Version 10.0.26100.33674]
[exit 0]
### venv [pwsh]
$ python -m venv v; Get-ChildItem v | Select-Object -ExpandProperty Name
Include
Lib
Scripts
.gitignore
pyvenv.cfg
[exit 0]
### quote-pwsh-double [pwsh]
$ .\v\Scripts\pip.exe install --dry-run -q "markitdown[pdf]"
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### quote-ps5-double [ps5]
$ .\v\Scripts\pip.exe install --dry-run -q "markitdown[pdf]"
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### quote-cmd-double [cmd]
$ v\Scripts\pip.exe install --dry-run -q "markitdown[pdf]"
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### quote-bash-double [bash]
$ ./v/Scripts/pip.exe install --dry-run -q "markitdown[pdf]"
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### quote-pwsh-none [pwsh]
$ .\v\Scripts\pip.exe install --dry-run -q markitdown[pdf]
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### quote-ps5-none [ps5]
$ .\v\Scripts\pip.exe install --dry-run -q markitdown[pdf]
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### quote-cmd-none [cmd]
$ v\Scripts\pip.exe install --dry-run -q markitdown[pdf]
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### quote-bash-none [bash]
$ ./v/Scripts/pip.exe install --dry-run -q markitdown[pdf]
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### quote-pwsh-single [pwsh]
$ .\v\Scripts\pip.exe install --dry-run -q 'markitdown[pdf]'
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### quote-ps5-single [ps5]
$ .\v\Scripts\pip.exe install --dry-run -q 'markitdown[pdf]'
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### quote-cmd-single [cmd]
$ v\Scripts\pip.exe install --dry-run -q 'markitdown[pdf]'
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
ERROR: Invalid requirement: "'markitdown[pdf]'": Expected package name at the start of dependency specifier
'markitdown[pdf]'
^
[exit 1]
### quote-bash-single [bash]
$ ./v/Scripts/pip.exe install --dry-run -q 'markitdown[pdf]'
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip
[exit 0]
### activate-restricted [ps5restricted]
$ .\v\Scripts\Activate.ps1
& : File D:\a\work\work\results\windows-latest\_c_activate_restricted.ps1 cannot be loaded
because running scripts is disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:74
+ ... d -Force; & 'D:\a\work\work\results\windows-lat ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
[exit 1]
### activate-process-fix [ps5]
$ Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned -Force; .\v\Scripts\Activate.ps1; Get-Command python | Select-Object -ExpandProperty Source
D:\a\work\work\v\Scripts\python.exe
[exit 0]
### activate-bash-style-pwsh [pwsh]
$ source v/bin/activate
source: D:\a\work\work\results\windows-latest\_c_activate_bash_style_pwsh.ps1:1
Line |
1 | source v/bin/activate
| ~~~~~~
| The term 'source' is not recognized as a name of a cmdlet, function, script file, or executable program. Check
| the spelling of the name, or if a path was included, verify that the path is correct and try again.
[exit 0]
### activate-bash-style-cmd [cmd]
$ source v/bin/activate
'source' is not recognized as an internal or external command,
operable program or batch file.
[exit 1]
### activate-cmd [cmd]
$ call v\Scripts\activate.bat && where python
D:\a\work\work\v\Scripts\python.exe
C:\hostedtoolcache\windows\Python\3.13.17\x64\python.exe
C:\hostedtoolcache\windows\Python\3.12.10\x64\python.exe
C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps\python.exe
[exit 0]
### install-all [pwsh]
$ .\v\Scripts\pip.exe install "markitdown[all]" 2>&1 | Select-Object -Last 3; .\v\Scripts\markitdown.exe --version
[31;1m[0m
[31;1m[notice] A new release of pip is available: 26.2.2 -> 26.3[0m
[31;1m[notice] To update, run: D:\a\work\work\v\Scripts\python.exe -m pip install --upgrade pip[0m
markitdown 0.1.9
[exit 0]
### venv-script-path [pwsh]
$ (Get-Command .\v\Scripts\markitdown.exe).Source; .\v\Scripts\python.exe -m markitdown --version
D:\a\work\work\v\Scripts\markitdown.exe
markitdown 0.1.9
[exit 0]
### user-install [pwsh]
$ python -m pip install --user "markitdown" 2>&1 | Select-String -Pattern "WARNING|Successfully" ; markitdown --version
[7mSuccessfully [0m[7m[0minstalled [0m[7m[0mbeautifulsoup4-4.15.0 [0m[7m[0mcertifi-2026.10.23 [0m[7m[0mcharset-normalizer-3.5.2 [0m[7m[0mclick-8.5.1 [0m[7m[0mdefusedxml-0.7.1 [0m
[7m[0mflatbuffers-25.12.19 [0m[7m[0midna-3.20 [0m[7m[0mmagika-1.0.3 [0m[7m[0mmarkdownify-1.2.3 [0m[7m[0mmarkitdown-0.1.9 [0m[7m[0mnumpy-2.5.4 [0m[7m[0monnxruntime-1.32.0 [0m
[7m[0mpackaging-26.3 [0m[7m[0mprotobuf-7.36.2 [0m[7m[0mrequests-2.34.2 [0m[7m[0msix-1.17.0 [0m[7m[0msoupsieve-4.1.1 [0m[7m[0mtyping-extensions-4.16.0 [0m[7m[0murllib3-2.8.0[0m
markitdown 0.1.9
[exit 0]
### user-scripts-dir [pwsh]
$ python -c "import site,sysconfig;print(sysconfig.get_path('scripts','nt_user'))"; $env:PATH -split ";" | Select-String -SimpleMatch "Scripts" | Select-Object -First 5
C:\Users\runneradmin\AppData\Roaming\Python\Python313\Scripts
C:\Users\runneradmin\AppData\Roaming\Python\Python313\[7mScripts[0m
C:\hostedtoolcache\windows\Python\3.13.17\x64\[7mScripts[0m
C:\hostedtoolcache\windows\Python\3.12.10\x64\[7mScripts[0m
[exit 0]
### path-spaces-nonascii [pwsh]
$ .\v\Scripts\markitdown.exe "p a t h\my report 東京.docx" -o "p a t h\out 東京.md"; $b=[IO.File]::ReadAllBytes("p a t h\out 東京.md"); "bytes=$($b.Length) crlf=" + (([regex]::Matches([Text.Encoding]::UTF8.GetString($b), "`r`n")).Count) + " bom=" + ($b[0] -eq 0xEF)
bytes=886 crlf=36 bom=False
[exit 0]
### unc-path [pwsh]
$ .\v\Scripts\markitdown.exe "\\localhost\D$\a\work\work\p a t h\my report 東京.docx" 2>&1 | Select-Object -First 6
Pilot Report: Field Station Alpha
# 1. Summary
This report covers **three sites** during *spring 2026* with underlined ~~and struck text.~~
[exit 0]
### device-path [pwsh]
$ .\v\Scripts\markitdown.exe "\\?\D:\a\work\work\p a t h\my report 東京.docx" 2>&1 | Select-Object -First 6
Pilot Report: Field Station Alpha
# 1. Summary
This report covers **three sites** during *spring 2026* with underlined ~~and struck text.~~
[exit 0]
### mapped-drive [cmd]
$ net use Z: "\\localhost\D$" >nul && v\Scripts\markitdown.exe "Z:\a\work\work\p a t h\my report 東京.docx" 2>&1 | more +0
Traceback (most recent call last):
File "", line 203, in _run_module_as_main
File "", line 88, in _run_code
File "D:\a\work\work\v\Scripts\markitdown.exe\__main__.py", line 5, in
sys.exit(main())
~~~~^^
File "D:\a\work\work\v\Lib\site-packages\markitdown\__main__.py", line 257, in main
result = markitdown.convert(
args.filename, stream_info=stream_info, keep_data_uris=args.keep_data_uris
)
File "D:\a\work\work\v\Lib\site-packages\markitdown\_markitdown.py", line 349, in convert
return self.convert_local(source, stream_info=stream_info, **kwargs)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\work\work\v\Lib\site-packages\markitdown\_markitdown.py", line 399, in convert_local
with open(path, "rb") as fh:
~~~~^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: 'Z:\\a\\work\\work\\p a t h\\my report ??.docx'
[exit 0]
### unc-pythonapi [pwsh]
$ .\v\Scripts\python.exe -c "from markitdown import MarkItDown; print(MarkItDown().convert(r'\\localhost\D$\a\work\work\p a t h\my report 東京.docx').markdown[:60])" 2>&1 | Select-Object -Last 4
# 1. Summary
This report
[exit 0]
### unc-0.1.7 [pwsh]
$ python -m venv v7; .\v7\Scripts\pip.exe install -q "markitdown[docx]==0.1.7"; .\v7\Scripts\markitdown.exe "\\localhost\D$\a\work\work\p a t h\my report 東京.docx" 2>&1 | Select-Object -First 4
[notice] A new release of pip is available: 26.2.2 -> 26.3
[notice] To update, run: D:\a\work\work\v7\Scripts\python.exe -m pip install --upgrade pip
[31;1mD:\a\work\work\v7\Lib\site-packages\onnxruntime\capi\onnxruntime_validation.py:26: UserWarning: Unsupported Windows version (2025server). ONNX Runtime supports Windows 10 and above, only.[0m
[31;1m warnings.warn([0m
Pilot Report: Field Station Alpha
[exit 0]
### winget-version [pwsh]
$ winget --version
v1.11.510
[exit 0]
### winget-show-Python.Python.3.13 [pwsh]
$ winget show --id Python.Python.3.13 --exact --accept-source-agreements 2>&1 | Select-Object -First 12
-
███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 1024 KB / 3.81 MB
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 2.00 MB / 3.81 MB
███████████████████████▒▒▒▒▒▒▒ 3.00 MB / 3.81 MB
██████████████████████████████ 3.81 MB / 3.81 MB
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 0%
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 0%
[exit 0]
### winget-show-Gyan.FFmpeg [pwsh]
$ winget show --id Gyan.FFmpeg --exact --accept-source-agreements 2>&1 | Select-Object -First 12
-
Found FFmpeg [Gyan.FFmpeg]
Version: 9.0.2
Publisher: Gyan
Publisher Url: https://www.gyan.dev/
Publisher Support Url: https://www.gyan.dev/ffmpeg/builds/#discussion
Author: Gyan Doshi
Moniker: ffmpeg
Description:
FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge.
[exit 0]
### winget-show-OliverBetz.ExifTool [pwsh]
$ winget show --id OliverBetz.ExifTool --exact --accept-source-agreements 2>&1 | Select-Object -First 12
-
Found ExifTool [OliverBetz.ExifTool]
Version: 13.61
Publisher: Oliver Betz
Publisher Url: https://oliverbetz.de/
Author: Oliver Betz
Moniker: exif
Description: A convenient installer and a robust portable package of Phil Harvey's ExifTool for Windows
Homepage: https://oliverbetz.de/pages/Artikel/ExifTool-for-Windows
License: CC0-1.0
[exit 0]
### winget-show-astral-sh.uv [pwsh]
$ winget show --id astral-sh.uv --exact --accept-source-agreements 2>&1 | Select-Object -First 12
-
Found uv [astral-sh.uv]
Version: 0.13.8
Publisher: Astral Software Inc.
Publisher Url: https://astral.sh/
Publisher Support Url: https://github.com/astral-sh/uv/issues
Author: Astral Software Inc.
Moniker: uv
Description: An extremely fast Python package and project manager, written in Rust. Designed as a single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv workflows, and more.
Homepage: https://github.com/astral-sh/uv
[exit 0]
### winget-show-Microsoft.WindowsTerminal [pwsh]
$ winget show --id Microsoft.WindowsTerminal --exact --accept-source-agreements 2>&1 | Select-Object -First 12
-
Found Windows Terminal [Microsoft.WindowsTerminal]
Version: 1.25.3131.0
Publisher: Microsoft Corporation
Publisher Url: https://www.microsoft.com
Publisher Support Url: https://github.com/microsoft/terminal/issues
Author: Microsoft
Moniker: terminal
Description: The new Windows Terminal, a tabbed command line experience for Windows.
Homepage: https://docs.microsoft.com/windows/terminal
[exit 0]
### winget-search-markitdown [pwsh]
$ winget search markitdown --accept-source-agreements 2>&1 | Select-Object -Last 3
-
No package found matching input criteria.
[exit 0]
### winget-search-microsoft-markitdown [pwsh]
$ winget search "microsoft markitdown" --source msstore --accept-source-agreements 2>&1 | Select-Object -Last 3
No package found matching input criteria.
[exit 0]
### winget-install-python [pwsh]
$ winget install --id Python.Python.3.12 --exact --silent --accept-package-agreements --accept-source-agreements 2>&1 | Select-Object -Last 4; $u=[Environment]::GetEnvironmentVariable("Path","User"); $m=[Environment]::GetEnvironmentVariable("Path","Machine"); "user path python entries: " + (($u -split ";") | Where-Object { $_ -match "Python3" }); "machine path python entries: " + (($m -split ";") | Where-Object { $_ -match "Python3" }); py -0p
-
\
Successfully installed
user path python entries: C:\Users\runneradmin\AppData\Local\Programs\Python\Python312\Scripts\ C:\Users\runneradmin\AppData\Local\Programs\Python\Python312\
machine path python entries:
-V:3.15 * C:\hostedtoolcache\windows\Python\3.15.2\x64\python.exe
-V:3.14 C:\hostedtoolcache\windows\Python\3.14.10\x64\python.exe
-V:3.13 C:\hostedtoolcache\windows\Python\3.13.17\x64\python.exe
-V:3.12 C:\Users\runneradmin\AppData\Local\Programs\Python\Python312\python.exe
-V:3.11 C:\hostedtoolcache\windows\Python\3.11.9\x64\python.exe
[exit 0]
### winget-ffmpeg-exiftool [pwsh]
$ winget install --id Gyan.FFmpeg --exact --silent --accept-package-agreements --accept-source-agreements 2>&1 | Select-Object -Last 2; winget install --id OliverBetz.ExifTool --exact --silent --accept-package-agreements --accept-source-agreements 2>&1 | Select-Object -Last 2; $env:PATH = [Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [Environment]::GetEnvironmentVariable("Path","User"); (Get-Command ffmpeg -ErrorAction SilentlyContinue).Source; (Get-Command exiftool -ErrorAction SilentlyContinue).Source; ffmpeg -version | Select-Object -First 1; exiftool -ver
Path environment variable modified; restart your shell to use the new value.
Successfully installed
Successfully installed
C:\Users\runneradmin\AppData\Local\Microsoft\WinGet\Links\ffmpeg.exe
C:\Users\runneradmin\AppData\Local\Programs\ExifTool\ExifTool.exe
ffmpeg version 9.0.2-full_build-www.gyan.dev Copyright (c) 2000-2026 the FFmpeg developers
13.61
[exit 0]
### markitdown-sees-ffmpeg [pwsh]
$ $env:PATH = [Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [Environment]::GetEnvironmentVariable("Path","User"); Copy-Item "$env:GITHUB_WORKSPACE\corpus\synthetic\*.mp3" . -ErrorAction SilentlyContinue; Get-ChildItem *.mp3 | Select-Object -First 1 | ForEach-Object { .\v\Scripts\markitdown.exe $_.Name 2>&1 | Select-Object -First 5 }
### Audio Transcript:
12345
[exit 0]