2025-08-04 10:28:43.935 [info] Python interpreter path: ./.venv/bin/python
2025-08-04 10:28:44.020 [info] > /opt/homebrew/bin/pyenv which python
2025-08-04 10:28:44.020 [info] cwd: ~/work/benetics/backend
2025-08-04 10:28:44.308 [info] > conda info --json
2025-08-04 10:28:44.457 [error] [
'Failed to activate a workspace, Class name = v, completed in 540ms, has a falsy return value, Arg 1: <Uri:/Users/tibbe/work/benetics/backend/benetics/api/main.py>, Return Value: undefined',
Error: command 'python.getRecommendedEnvironment' already exists
at Ab.registerCommand (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:40266)
at Object.registerCommand (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:164:104895)
at p.activate (/Users/tibbe/.vscode/extensions/ms-python.python-2025.10.1-darwin-arm64/out/client/extension.js:2:529744)
at /Users/tibbe/.vscode/extensions/ms-python.python-2025.10.1-darwin-arm64/out/client/extension.js:2:2457
at Array.map (<anonymous>)
at v.activateWorkspace (/Users/tibbe/.vscode/extensions/ms-python.python-2025.10.1-darwin-arm64/out/client/extension.js:2:2447)
]
2025-08-04 10:28:44.457 [info] Starting Pylance language server.
2025-08-04 10:28:53.567 [info] Python interpreter path: ~/.pyenv/versions/3.11.11/bin/python
Type: Bug
Behaviour
It used to be the case that a
.envfile in the project root directory would get sourced when opening a new terminal in that project. This no longer happens.Steps to reproduce:
.envfile in its root.Diagnostic data
launch.jsonconfigurationOutput for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Output for
Python Debuggerin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython Debugger)Extension version: 2025.10.1
VS Code version: Code 1.102.3 (Universal) (488a1f239235055e34e673291fb8d8c810886f81, 2025-07-29T03:00:23.339Z)
OS version: Darwin arm64 24.5.0
Modes:
python.languageServersetting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments