You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to handle c:\Users\XXX\AppData\Local\Python\bin\python3.14.exe #25843
Activity
eleanorjboyd commentedon Mar 11, 2026
Hi! What are you specifically seeing that is telling you it cannot handle that? Can you include all your logs to help?
🐍 How to Get Logs from the Python Environments Output Channel
Ctrl+Shift+PorCmd+Shift+Pon Mac).eleanorjboyd commentedon Apr 3, 2026
this seems similar to #25886. Going to close in favor of that issue but if you think they are different please reply and I will re-open. Thanks!
Popsiclefoumou commentedon Jul 16, 2026
Here are my logs, If you could solve them?
026-07-16T23:20:28.458+08:00 [info] Python-envs extension version: 1.20.1
2026-07-16T23:20:28.459+08:00 [info]
=== Python Envs Configuration Levels ===
2026-07-16T23:20:28.459+08:00 [info] {
"section": "Python Envs Configuration Levels",
"defaultEnvManager": {
"workspaceFolderValue": "undefined",
"workspaceValue": "undefined",
"globalValue": "undefined",
"defaultValue": "ms-python.python:venv"
},
"defaultPackageManager": {
"workspaceFolderValue": "undefined",
"workspaceValue": "undefined",
"globalValue": "undefined",
"defaultValue": "ms-python.python:pip"
}
}
2026-07-16T23:20:28.459+08:00 [info] [pet] Starting Python Locator c:\Users\12565.trae-cn\extensions\ms-python.python-2026.4.0-universal\python-env-tools\bin\pet.exe server
2026-07-16T23:20:28.459+08:00 [error] [pet] Process error: A system error occurred (spawn c:\Users\12565.trae-cn\extensions\ms-python.python-2026.4.0-universal\python-env-tools\bin\pet.exe ENOENT)
2026-07-16T23:20:28.546+08:00 [warning] [pet] Restarting Python Environment Tools (attempt 1/3, waiting 1000ms)
2026-07-16T23:20:29.554+08:00 [info] [pet] Starting Python Locator c:\Users\12565.trae-cn\extensions\ms-python.python-2026.4.0-universal\python-env-tools\bin\pet.exe server
2026-07-16T23:20:29.554+08:00 [info] [pet] Python Environment Tools restarted successfully
2026-07-16T23:20:29.556+08:00 [info] [pet] configure: Sending configuration update: {"workspaceDirectories":["f:\About Paper"],"environmentDirectories":["f:/About Paper//.venv"],"pipenvExecutable":"pipenv","poetryExecutable":"poetry","cacheDirectory":"c:\Users\12565\AppData\Roaming\Trae CN\User\globalStorage\ms-python.vscode-python-envs\pythonLocator"}
2026-07-16T23:20:29.557+08:00 [error] [pet] Process error: A system error occurred (spawn c:\Users\12565.trae-cn\extensions\ms-python.python-2026.4.0-universal\python-env-tools\bin\pet.exe ENOENT)
2026-07-16T23:20:59.557+08:00 [warning] [pet] Configure request timed out, killing hung process for restart
2026-07-16T23:20:59.557+08:00 [error] [pet] configure: Configuration error Request 'configure' timed out after 30000ms
2026-07-16T23:20:59.557+08:00 [warning] [pet] Request timed out, killing hung process for restart
2026-07-16T23:20:59.557+08:00 [error] [pet] Error refreshing Request 'configure' timed out after 30000ms
2026-07-16T23:20:59.557+08:00 [warning] [pet] Restarting Python Environment Tools (attempt 2/3, waiting 2000ms)
2026-07-16T23:20:59.558+08:00 [info] Pipenv not found, turning off pipenv features. If you have pipenv installed in a non-standard location, set the "python.pipenvPath" setting. [Error: Request 'configure' timed out after 30000ms
at Timeout. (c:\Users\12565.trae-cn\extensions\ms-python.vscode-python-envs-1.20.1-universal\dist\extension.js:2:534062)
at listOnTimeout (node:internal/timers:588:17)
at process.processTimers (node:internal/timers:523:7)]
2026-07-16T23:21:01.570+08:00 [info] [pet] Starting Python Locator c:\Users\12565.trae-cn\extensions\ms-python.python-2026.4.0-universal\python-env-tools\bin\pet.exe server
2026-07-16T23:21:01.570+08:00 [info] [pet] Python Environment Tools restarted successfully
2026-07-16T23:21:01.570+08:00 [info] [pet] configure: Sending configuration update: {"workspaceDirectories":["f:\About Paper"],"environmentDirectories":["f:/About Paper//.venv"],"pipenvExecutable":"pipenv","poetryExecutable":"poetry","cacheDirectory":"c:\Users\12565\AppData\Roaming\Trae CN\User\globalStorage\ms-python.vscode-python-envs\pythonLocator"}
2026-07-16T23:21:01.570+08:00 [error] [pet] Process error: A system error occurred (spawn c:\Users\12565.trae-cn\extensions\ms-python.python-2026.4.0-universal\python-env-tools\bin\pet.exe ENOENT)
2026-07-16T23:21:31.579+08:00 [warning] [pet] Configure request timed out, killing hung process for restart
2026-07-16T23:21:31.580+08:00 [error] [pet] configure: Configuration error Request 'configure' timed out after 30000ms
2026-07-16T23:21:31.580+08:00 [warning] [pet] Request timed out, killing hung process for restart
2026-07-16T23:21:31.580+08:00 [error] [pet] Error refreshing Request 'configure' timed out after 30000ms
2026-07-16T23:21:31.580+08:00 [warning] [pet] Restarting Python Environment Tools (attempt 3/3, waiting 4000ms)
2026-07-16T23:21:31.580+08:00 [info] Pyenv not found, turning off pyenv features. [Error: Request 'configure' timed out after 30000ms
at Timeout. (c:\Users\12565.trae-cn\extensions\ms-python.vscode-python-envs-1.20.1-universal\dist\extension.js:2:534062)
at listOnTimeout (node:internal/timers:588:17)
at process.processTimers (node:internal/timers:523:7)]
2026-07-16T23:21:35.595+08:00 [info] [pet] Starting Python Locator c:\Users\12565.trae-cn\extensions\ms-python.python-2026.4.0-universal\python-env-tools\bin\pet.exe server
2026-07-16T23:21:35.595+08:00 [info] [pet] Python Environment Tools restarted successfully
2026-07-16T23:21:35.596+08:00 [info] [pet] configure: Sending configuration update: {"workspaceDirectories":["f:\About Paper"],"environmentDirectories":["f:/About Paper/**/.venv"],"pipenvExecutable":"pipenv","poetryExecutable":"poetry","cacheDirectory":"c:\Users\12565\AppData\Roaming\Trae CN\User\globalStorage\ms-python.vscode-python-envs\pythonLocator"}
2026-07-16T23:21:35.596+08:00 [error] [pet] Process error: A system error occurred (spawn c:\Users\12565.trae-cn\extensions\ms-python.python-2026.4.0-universal\python-env-tools\bin\pet.exe ENOENT)
2026-07-16T23:22:05.601+08:00 [warning] [pet] Configure request timed out, killing hung process for restart
2026-07-16T23:22:05.601+08:00 [error] [pet] configure: Configuration error Request 'configure' timed out after 30000ms
2026-07-16T23:22:05.601+08:00 [warning] [pet] Request timed out, killing hung process for restart
2026-07-16T23:22:05.602+08:00 [error] [pet] Error refreshing Request 'configure' timed out after 30000ms
2026-07-16T23:22:05.602+08:00 [info] Poetry not found, turning off poetry features. [Error: Request 'configure' timed out after 30000ms
at Timeout. (c:\Users\12565.trae-cn\extensions\ms-python.vscode-python-envs-1.20.1-universal\dist\extension.js:2:534062)
at listOnTimeout (node:internal/timers:588:17)
at process.processTimers (node:internal/timers:523:7)]
2026-07-16T23:22:05.602+08:00 [info] Conda not found, turning off conda features. [Error: Python Environment Tools (PET) failed after 3 restart attempts. Please reload the window or check the output channel for details. To debug, run "Python Environments: Run Python Environment Tool (PET) in Terminal" from the Command Palette.
at S.ensureProcessRunning (c:\Users\12565.trae-cn\extensions\ms-python.vscode-python-envs-1.20.1-universal\dist\extension.js:2:535872)
at S.doRefresh (c:\Users\12565.trae-cn\extensions\ms-python.vscode-python-envs-1.20.1-universal\dist\extension.js:2:540575)
at c.workerFunc (c:\Users\12565.trae-cn\extensions\ms-python.vscode-python-envs-1.20.1-universal\dist\extension.js:2:535168)
at o.workFunc (c:\Users\12565.trae-cn\extensions\ms-python.vscode-python-envs-1.20.1-universal\dist\extension.js:2:287619)
at o.start (c:\Users\12565.trae-cn\extensions\ms-python.vscode-python-envs-1.20.1-universal\dist\extension.js:2:286434)]
2026-07-16T23:22:05.604+08:00 [info] [interpreterSelection] Applying initial environment selection for 1 workspace folder(s)
2026-07-16T23:22:05.605+08:00 [error] [autoDiscover] Failed to check venv manager: Error: Python Environment Tools (PET) failed after 3 restart attempts. Please reload the window or check the output channel for details. To debug, run "Python Environments: Run Python Environment Tool (PET) in Terminal" from the Command Palette.
2026-07-16T23:22:05.605+08:00 [error] [interpreterSelection] Failed to set environment for f:\About Paper: Error: Python Environment Tools (PET) failed after 3 restart attempts. Please reload the window or check the output channel for details. To debug, run "Python Environments: Run Python Environment Tool (PET) in Terminal" from the Command Palette.
2026-07-16T23:22:05.617+08:00 [info] [interpreterSelection] global: none (source: autoDiscovery)
2026-07-16T23:29:21.691+08:00 [error] Unable to handle d:\Program Files\Python\Python3.14\python.exe