Repository navigation
No Python environments found when running in VS Codium #1563
Copy link
Copy link
Closed as not planned
Description
When I use the Python Environments extension in VSCodium, it fails to detect all environments.
Attempting to enter the path to an environment manually causes an error.
Logs on startup
2026-06-06 15:50:32.016 [info] Python-envs extension version: 1.30.0
2026-06-06 15:50:32.016 [info]
=== Python Envs Configuration Levels ===
2026-06-06 15:50:32.016 [info] {
"section": "Python Envs Configuration Levels",
"defaultEnvManager": {
"workspaceFolderValue": "undefined",
"workspaceValue": "ms-python.python:venv",
"globalValue": "undefined",
"defaultValue": "ms-python.python:venv"
},
"defaultPackageManager": {
"workspaceFolderValue": "undefined",
"workspaceValue": "undefined",
"globalValue": "undefined",
"defaultValue": "ms-python.python:pip"
}
}
2026-06-06 15:50:32.016 [info] [pet] Starting Python Locator /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet server
2026-06-06 15:50:32.016 [info] Registering pyenv manager (environments will be discovered lazily)
2026-06-06 15:50:32.016 [info] Registering pipenv manager (environments will be discovered lazily)
2026-06-06 15:50:32.016 [info] Registering poetry manager (environments will be discovered lazily)
2026-06-06 15:50:32.016 [info] [pet] configure: Sending configuration update: {"workspaceDirectories":["/home/maddy/Source/COMP/1010/26t1/marking"],"environmentDirectories":["/home/maddy/Source/COMP/1010/26t1/marking/.venv","/home/maddy/Source/COMP/1010/26t1/marking/*/.venv"],"pipenvExecutable":"pipenv","poetryExecutable":"poetry","cacheDirectory":"/home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator"}
2026-06-06 15:50:32.016 [error] [pet] Process error: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:51:01.956 [warning] [pet] Configure request timed out (attempt 1/2), will retry on next request without killing process
2026-06-06 15:51:01.956 [error] [pet] Error refreshing Request 'configure' timed out after 30000ms
2026-06-06 15:51:01.957 [warning] [pet] Restarting Python Environment Tools (attempt 1/3, waiting 1000ms)
2026-06-06 15:51:01.957 [error] [venv] Background initialization failed: [M: Request 'configure' timed out after 30000ms
at Timeout.<anonymous> (/home/maddy/.vscode-oss/extensions/ms-python.vscode-python-envs-1.30.0-universal/dist/extension.js:2:551628)
at listOnTimeout (node:internal/timers:585:17)
at process.processTimers (node:internal/timers:521:7)] {
method: 'configure'
}
2026-06-06 15:51:02.960 [info] [pet] Starting Python Locator /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet server
2026-06-06 15:51:02.961 [info] [pet] Python Environment Tools restarted successfully
2026-06-06 15:51:02.961 [info] [pet] configure: Sending configuration update: {"workspaceDirectories":["/home/maddy/Source/COMP/1010/26t1/marking"],"environmentDirectories":["/home/maddy/Source/COMP/1010/26t1/marking/.venv","/home/maddy/Source/COMP/1010/26t1/marking/*/.venv"],"pipenvExecutable":"pipenv","poetryExecutable":"poetry","cacheDirectory":"/home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator"}
2026-06-06 15:51:02.962 [error] [pet] Process error: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:51:32.961 [warning] [pet] Configure request timed out (attempt 1/2), will retry on next request without killing process
2026-06-06 15:51:32.962 [error] [pet] Error refreshing Request 'configure' timed out after 30000ms
2026-06-06 15:51:32.962 [info] Conda not found, turning off conda features. [M: Request 'configure' timed out after 30000ms
at Timeout.<anonymous> (/home/maddy/.vscode-oss/extensions/ms-python.vscode-python-envs-1.30.0-universal/dist/extension.js:2:551628)
at listOnTimeout (node:internal/timers:585:17)
at process.processTimers (node:internal/timers:521:7)] {
method: 'configure'
}
2026-06-06 15:51:32.963 [info] [interpreterSelection] Applying initial environment selection for 1 workspace folder(s)
2026-06-06 15:51:32.963 [warning] [pet] Restarting Python Environment Tools (attempt 2/3, waiting 2000ms)
2026-06-06 15:51:34.968 [info] [pet] Starting Python Locator /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet server
2026-06-06 15:51:34.968 [info] [pet] Python Environment Tools restarted successfully
2026-06-06 15:51:34.969 [info] [pet] configure: Sending configuration update: {"workspaceDirectories":["/home/maddy/Source/COMP/1010/26t1/marking"],"environmentDirectories":["/home/maddy/Source/COMP/1010/26t1/marking/.venv","/home/maddy/Source/COMP/1010/26t1/marking/*/.venv"],"pipenvExecutable":"pipenv","poetryExecutable":"poetry","cacheDirectory":"/home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator"}
2026-06-06 15:51:34.969 [error] [pet] Process error: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:52:04.971 [warning] [pet] Configure request timed out (attempt 1/2), will retry on next request without killing process
2026-06-06 15:52:04.971 [error] [pet] Error refreshing Request 'configure' timed out after 30000ms
2026-06-06 15:52:04.972 [error] [venv] Background initialization failed: [M: Request 'configure' timed out after 30000ms
at Timeout.<anonymous> (/home/maddy/.vscode-oss/extensions/ms-python.vscode-python-envs-1.30.0-universal/dist/extension.js:2:551628)
at listOnTimeout (node:internal/timers:585:17)
at process.processTimers (node:internal/timers:521:7)] {
method: 'configure'
}
2026-06-06 15:52:04.974 [info] [interpreterSelection] marking: none (source: defaultEnvManager)
2026-06-06 15:52:04.974 [warning] [pet] Restarting Python Environment Tools (attempt 3/3, waiting 4000ms)
2026-06-06 15:52:08.979 [info] [pet] Starting Python Locator /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet server
2026-06-06 15:52:08.979 [info] [pet] Python Environment Tools restarted successfully
2026-06-06 15:52:08.979 [info] [pet] configure: Sending configuration update: {"workspaceDirectories":["/home/maddy/Source/COMP/1010/26t1/marking"],"environmentDirectories":["/home/maddy/Source/COMP/1010/26t1/marking/.venv","/home/maddy/Source/COMP/1010/26t1/marking/*/.venv"],"pipenvExecutable":"pipenv","poetryExecutable":"poetry","cacheDirectory":"/home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator"}
2026-06-06 15:52:08.980 [error] [pet] Process error: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:52:31.949 [error] Setup appears hung during stage: envSelection
2026-06-06 15:52:38.986 [warning] [pet] Configure request timed out (attempt 1/2), will retry on next request without killing process
2026-06-06 15:52:38.986 [error] [pet] Error refreshing Request 'configure' timed out after 30000ms
2026-06-06 15:52:38.987 [warning] [pet] Server mode exhausted, falling back to JSON CLI for refresh
2026-06-06 15:52:38.991 [info] [pet] JSON CLI fallback refresh: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet find --json /home/maddy/Source/COMP/1010/26t1/marking --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator --pipenv-executable pipenv --poetry-executable poetry --environment-directories /home/maddy/Source/COMP/1010/26t1/marking/.venv --environment-directories /home/maddy/Source/COMP/1010/26t1/marking/*/.venv
2026-06-06 15:52:38.991 [error] [pet] JSON CLI fallback refresh failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:52:38.992 [error] [interpreterSelection] Failed to set global environment: Error: spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT
2026-06-06 15:52:38.997 [warning] [pet] Server mode exhausted, falling back to JSON CLI for refresh
2026-06-06 15:52:39.002 [info] [pet] JSON CLI fallback refresh: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet find --json /home/maddy/Source/COMP/1010/26t1/marking --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator --pipenv-executable pipenv --poetry-executable poetry --environment-directories /home/maddy/Source/COMP/1010/26t1/marking/.venv --environment-directories /home/maddy/Source/COMP/1010/26t1/marking/*/.venv
2026-06-06 15:52:39.002 [error] [pet] JSON CLI fallback refresh failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:52:39.004 [info] Refreshing pyenv environments
2026-06-06 15:52:39.005 [warning] [pet] Server mode exhausted, falling back to JSON CLI for refresh
2026-06-06 15:52:39.009 [info] [pet] JSON CLI fallback refresh: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet find --json /home/maddy/Source/COMP/1010/26t1/marking --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator --pipenv-executable pipenv --poetry-executable poetry --environment-directories /home/maddy/Source/COMP/1010/26t1/marking/.venv --environment-directories /home/maddy/Source/COMP/1010/26t1/marking/*/.venv
2026-06-06 15:52:39.009 [error] [pet] JSON CLI fallback refresh failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:52:39.010 [error] Pyenv lazy initialization failed [Error: spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21)] {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet',
path: '/home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet',
spawnargs: [
'find',
'--json',
'/home/maddy/Source/COMP/1010/26t1/marking',
'--cache-directory',
'/home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator',
'--pipenv-executable',
'pipenv',
'--poetry-executable',
'poetry',
'--environment-directories',
'/home/maddy/Source/COMP/1010/26t1/marking/.venv',
'--environment-directories',
'/home/maddy/Source/COMP/1010/26t1/marking/*/.venv'
]
}
2026-06-06 15:52:39.012 [info] Pipenv not found via settings, cache, or PATH
2026-06-06 15:52:39.013 [info] Refreshing pipenv environments
2026-06-06 15:52:39.013 [warning] [pet] Server mode exhausted, falling back to JSON CLI for refresh
2026-06-06 15:52:39.017 [info] [pet] JSON CLI fallback refresh: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet find --json /home/maddy/Source/COMP/1010/26t1/marking --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator --pipenv-executable pipenv --poetry-executable poetry --environment-directories /home/maddy/Source/COMP/1010/26t1/marking/.venv --environment-directories /home/maddy/Source/COMP/1010/26t1/marking/*/.venv
2026-06-06 15:52:39.017 [error] [pet] JSON CLI fallback refresh failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:52:39.017 [error] Pipenv lazy initialization failed [Error: spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21)] {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet',
path: '/home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet',
spawnargs: [
'find',
'--json',
'/home/maddy/Source/COMP/1010/26t1/marking',
'--cache-directory',
'/home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator',
'--pipenv-executable',
'pipenv',
'--poetry-executable',
'poetry',
'--environment-directories',
'/home/maddy/Source/COMP/1010/26t1/marking/.venv',
'--environment-directories',
'/home/maddy/Source/COMP/1010/26t1/marking/*/.venv'
]
}
2026-06-06 15:52:39.020 [info] Refreshing poetry environments
2026-06-06 15:52:39.020 [warning] [pet] Server mode exhausted, falling back to JSON CLI for refresh
2026-06-06 15:52:39.024 [info] [pet] JSON CLI fallback refresh: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet find --json /home/maddy/Source/COMP/1010/26t1/marking --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator --pipenv-executable pipenv --poetry-executable poetry --environment-directories /home/maddy/Source/COMP/1010/26t1/marking/.venv --environment-directories /home/maddy/Source/COMP/1010/26t1/marking/*/.venv
2026-06-06 15:52:39.024 [error] [pet] JSON CLI fallback refresh failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:52:39.025 [error] Poetry lazy initialization failed [Error: spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21)] {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet',
path: '/home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet',
spawnargs: [
'find',
'--json',
'/home/maddy/Source/COMP/1010/26t1/marking',
'--cache-directory',
'/home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator',
'--pipenv-executable',
'pipenv',
'--poetry-executable',
'poetry',
'--environment-directories',
'/home/maddy/Source/COMP/1010/26t1/marking/.venv',
'--environment-directories',
'/home/maddy/Source/COMP/1010/26t1/marking/*/.venv'
]
}
2026-06-06 15:52:39.025 [warning] No Python environments were found. Try running "Python Environments: Run Python Environment Tool (PET) in Terminal..." from the Command Palette to diagnose. If environments should be detected, please report this: https://github.com/microsoft/vscode-python-environments/issues/new
Logs when I enter the path of a virtual environment manually
2026-06-06 15:59:01.732 [warning] [pet] Server mode exhausted, falling back to JSON CLI for resolve
2026-06-06 15:59:01.732 [info] [pet] JSON CLI fallback resolve: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet resolve /home/maddy/Source/COMP/1010/26t1/marking/exam_sup/.venv/bin/python --json --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator
2026-06-06 15:59:01.763 [error] [pet] JSON CLI fallback resolve failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:59:01.769 [warning] [pet] Server mode exhausted, falling back to JSON CLI for resolve
2026-06-06 15:59:01.770 [info] [pet] JSON CLI fallback resolve: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet resolve /home/maddy/Source/COMP/1010/26t1/marking/exam_sup/.venv/bin/python --json --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator
2026-06-06 15:59:01.770 [error] [pet] JSON CLI fallback resolve failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:59:01.775 [warning] [pet] Server mode exhausted, falling back to JSON CLI for resolve
2026-06-06 15:59:01.775 [info] [pet] JSON CLI fallback resolve: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet resolve /home/maddy/Source/COMP/1010/26t1/marking/exam_sup/.venv/bin/python --json --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator
2026-06-06 15:59:01.775 [error] [pet] JSON CLI fallback resolve failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:59:01.779 [warning] [pet] Server mode exhausted, falling back to JSON CLI for resolve
2026-06-06 15:59:01.779 [info] [pet] JSON CLI fallback resolve: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet resolve /home/maddy/Source/COMP/1010/26t1/marking/exam_sup/.venv/bin/python --json --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator
2026-06-06 15:59:01.780 [error] [pet] JSON CLI fallback resolve failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:59:01.789 [warning] [pet] Server mode exhausted, falling back to JSON CLI for resolve
2026-06-06 15:59:01.789 [info] [pet] JSON CLI fallback resolve: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet resolve /home/maddy/Source/COMP/1010/26t1/marking/exam_sup/.venv/bin/python --json --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator
2026-06-06 15:59:01.790 [error] [pet] JSON CLI fallback resolve failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:59:01.797 [warning] [pet] Server mode exhausted, falling back to JSON CLI for resolve
2026-06-06 15:59:01.797 [info] [pet] JSON CLI fallback resolve: /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet resolve /home/maddy/Source/COMP/1010/26t1/marking/exam_sup/.venv/bin/python --json --cache-directory /home/maddy/.config/VSCodium/User/globalStorage/ms-python.vscode-python-envs/pythonLocator
2026-06-06 15:59:01.797 [error] [pet] JSON CLI fallback resolve failed: A system error occurred (spawn /home/maddy/.vscode-oss/extensions/ms-python.python-2026.4.0-universal/python-env-tools/bin/pet ENOENT)
2026-06-06 15:59:01.797 [warning] Unable to handle /home/maddy/Source/COMP/1010/26t1/marking/exam_sup/.venv/bin/python
I cannot reproduce this issue in regular VS Code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
eleanorjboyd commentedon Jun 9, 2026
Hi! Sorry but we only support official VS Code builds for support here so I'm going to close this as out of scope. If you switch to an official VS Code build and still see two pickers, please reopen and I'll dig in.