Skip to content

Cannot select interpreter in .py files when using "Select at workspace level" #21220

Description

Type: Bug

Behaviour

Expected vs. Actual

When editing .py files, I cannot adjust the python interpreter. It's pinned to the base mamba/conda env in ~/mamba/bin/python, but I'd like it to use ~/mamba/envs/my-env/bin/python. When I select this in the lower right, or by setting "Set python interpeter" in the command palette, nothing changes (even after reloading). Similarly, hard-coding the desired interpreter into "python.pythonPath" has no effect. I would expect the interpeter to change with my selection. Jupyter notebooks do not have this problem; there, I'm free to choose any kernel I like and it instantly takes effect.

Note that I'm running VSCode in a container, if that changes anything.

Steps to reproduce:

  1. Install base conda env
  2. Activate base env and install additional env in ~/conda/envs/new-env
  3. Open .py file and attempt to switch interpeter to ~/conda/envs/new-env

Diagnostic data

  • Python version (& distribution if applicable, e.g. Anaconda): 3.10.10
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
  • Value of the python.languageServer setting: Default
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings


venvPath: "<placeholder>"

languageServer: "Pylance"

formatting
• provider: "yapf"
• yapfArgs: "<placeholder>"

terminal
• activateEnvironment: false

Extension version: 2023.8.0
VS Code version: Code 1.78.0 (252e5463d60e63238250799aef7375787f68b4ee, 2023-05-03T20:09:46.685Z)
OS version: Linux x64 6.1.20-2rodete1-amd64
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.19.0-1022-gcp

System Info
Item Value
CPUs Intel(R) Xeon(R) W-2135 CPU @ 3.70GHz (6 x 4399)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 1, 1, 1
Memory (System) 125.40GB (107.26GB free)
Process Argv --unity-launch --crash-reporter-id 4864ec53-29cb-400d-8df6-b813d008ae4e
Screen Reader no
VM 0%
DESKTOP_SESSION gnome
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_DESKTOP gnome
XDG_SESSION_TYPE x11
Item Value
Remote Dev Container: BenjaminML @ ssh://cc-aholiday
OS Linux x64 5.19.0-1022-gcp
CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (12 x 2200)
Memory (System) 83.47GB (79.61GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
a9j8j154:30646983
6233i204:30730053
azdwalk:30721579
pythonms35:30701012
pythonfmttext:30731395
fixshowwlkth:30730052
pythongtdpathcf:30731979

Activity

  1. karrtikr commented on May 10, 2023

    @karrtikr

    Please provide the logs as mentioned in the issue template. Attempt to change interpreter before providing the logs, use Python: Select Interpreter comamnd.

    Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

    XXX
    

  2. walkingice commented on May 24, 2023

    @walkingice

    I got similar issue that cannot select interpreter successfully.

    This is my Python Output

    2023-05-25 00:25:44.801 [info] Experiment 'pythonaa' is active
    2023-05-25 00:25:44.801 [info] Experiment 'pythonPromptNewFormatterExt' is active
    2023-05-25 00:25:44.801 [info] Experiment 'pythonPromptNewToolsExt' is active
    2023-05-25 00:25:44.803 [info] Test server listening.
    2023-05-25 00:25:44.807 [info] > conda info --json
    2023-05-25 00:25:44.811 [info] Python interpreter path: ~/.pyenv/versions/3.9.13/bin/python3.9
    2023-05-25 00:25:44.883 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
    2023-05-25 00:25:44.883 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
    2023-05-25 00:25:44.883 [info] Found: /usr/bin/python3 --> /usr/bin/python3
    2023-05-25 00:25:44.896 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
    2023-05-25 00:25:44.896 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
    2023-05-25 00:25:44.896 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
    2023-05-25 00:25:44.897 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
    2023-05-25 00:25:44.897 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
    2023-05-25 00:25:44.897 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
    2023-05-25 00:25:44.994 [info] > ~/.pyenv/versions/3.9.13/bin/python -I ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/interpreterInfo.py
    2023-05-25 00:25:44.998 [info] Found: /opt/homebrew/bin/python3.10 --> /opt/homebrew/Cellar/[email protected]/3.10.10_1/Frameworks/Python.framework/Versions/3.10/bin/python3.10
    2023-05-25 00:25:45.010 [info] > /usr/bin/python3 -I ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/interpreterInfo.py
    2023-05-25 00:25:45.044 [info] > /opt/homebrew/bin/python3.10 -I ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/interpreterInfo.py
    2023-05-25 00:25:45.159 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
    2023-05-25 00:25:45.159 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
    2023-05-25 00:25:45.417 [info] Starting Pylance language server.
    

    I created a temporary virtual environment by $ virtualenv /tmp/testenv, open Visual Studio Code, then choose the interpreter /tmp/testenv/bin/python3.9 (this is a symbolic link to ~/.pyenv/versions/3.9.13/bin/python)

    Nothing happened after choosing interpreter. And no new information was appended to Output.

    Moreover, after I chose the interpreter under /tmp/testenv and click Run / Run without Debugging, it doesn't run at all. Just one new line was added to Python Output. But the python script does not run.

    2023-05-25 00:32:41.574 [info] DAP Server launched with command: /Users/walkingice/.pyenv/versions/3.9.13/bin/python3.9 /Users/walkingice/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/lib/python/debugpy/adapter
    

    It seems something crashed, because I can see a process ReportCrash was running in background, but the process never ends until I completely close Visual Studio Code.

  3. glinka commented on May 24, 2023

    @glinka
    Author

    Sorry for the delay. As with Julian Chu (@walkingice), running Python: Select Interpreter didn't produce any additional logs.

    Full output:

    2023-05-24 11:08:31.988 [info] Experiment 'pythonaa' is active
    2023-05-24 11:08:31.988 [info] Experiment 'pythonPromptNewFormatterExt' is active
    2023-05-24 11:08:31.988 [info] Experiment 'pythonPromptNewToolsExt' is active
    2023-05-24 11:08:31.988 [info] Test server listening.
    2023-05-24 11:08:31.988 [info] Python interpreter path: ~/mamba/envs/ml/bin/python
    2023-05-24 11:08:32.846 [info] Starting Pylance language server.
    2023-05-24 11:08:32.854 [error] Active interpreter type is detected as Unknown {"id":"/home/glinka/mamba/envs/ml/bin/python","sysPrefix":"/home/glinka/mamba/envs/ml","envType":"Unknown","envName":"","envPath":"/home/glinka/mamba/envs/ml","path":"/home/glinka/mamba/envs/ml/bin/python","architecture":3,"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]","version":{"raw":"3.10.10","major":3,"minor":10,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.10.10 64-bit","detailedDisplayName":"Python 3.10.10 64-bit"}
    2023-05-24 11:09:03.297 [info] > conda info --json
    2023-05-24 11:09:03.318 [info] > ~/mamba/envs/ml/bin/python -m yapf "--style={based_on_style: google, indent_width: 2}" --diff ./vertex_ai_training_job/trainer/task.py.ca290d93db33c24c4c5885e2d51a283e.tmp
    2023-05-24 11:09:03.318 [info] cwd: ./vertex_ai_training_job/trainer
    2023-05-24 11:09:03.360 [info] > ~/mamba/envs/ml/bin/python -c "import yapf"
    2023-05-24 11:09:03.528 [info] > . ~/mamba/envs/ml/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/printEnvVariables.py
    2023-05-24 11:09:03.528 [info] shell: bash
    2023-05-24 11:09:03.845 [info] > ~/mamba/envs/ml/bin/python -c "import yapf"
    2023-05-24 11:09:03.873 [error] 
    Please install 'yapf' into your environment. 
    If you don't want to use it you can turn it off or use another formatter in the settings.
    2023-05-24 11:09:03.873 [error] Formatting with yapf failed:
    Error: Module 'yapf' not installed.
    2023-05-24 11:09:43.114 [info] Found: /bin/python3 --> /bin/python3.10
    2023-05-24 11:09:43.114 [info] Found: /bin/python3.10 --> /bin/python3.10
    2023-05-24 11:09:43.123 [info] Found: /usr/bin/python3 --> /usr/bin/python3.10
    2023-05-24 11:09:43.123 [info] Found: /usr/bin/python3.10 --> /usr/bin/python3.10
    2023-05-24 11:09:43.149 [info] > /bin/python3 -I ~/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/interpreterInfo.py
    2023-05-24 11:09:43.165 [info] > /usr/bin/python3 -I ~/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/interpreterInfo.py
    
  4. karrtikr commented on Jul 21, 2023

    @karrtikr

    Try the pre-release version of the Python extension:

    image

    In case the issue is still there, please provide the debug logs which can help diagnose the issue:

    • Run Developer: Set log level command

    • Select Python -> Select Trace

    • Run Developer: Reload Window command

    • Provide the output:

      Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

      XXX
      

  5. glinka commented on Jul 24, 2023

    @glinka
    Author

    Unfortunately pre-release (v2023.13.12051535) has not solved the problem. I'm providing the output below but there's literally nothing logged at the trace level when I select a different interpreter.

    2023-07-24 16:49:17.369 [info] Experiment 'pythonPromptNewFormatterExt' is active
    2023-07-24 16:49:17.369 [info] Experiment 'pythonPromptNewToolsExt' is active
    2023-07-24 16:49:17.369 [info] Experiment 'pythonSurveyNotificationcf' is active
    2023-07-24 16:49:17.369 [info] Experiment 'pythonTestAdapter' is active
    2023-07-24 16:49:17.369 [info] Test server listening.
    2023-07-24 16:49:17.370 [info] > conda info --json
    2023-07-24 16:49:17.370 [info] Python interpreter path: ~/mamba/bin/python
    2023-07-24 16:49:17.370 [info] Found: /bin/python3 --> /bin/python3.10
    2023-07-24 16:49:17.370 [info] Found: /bin/python3.10 --> /bin/python3.10
    2023-07-24 16:49:17.370 [info] Found: /usr/bin/python3 --> /usr/bin/python3.10
    2023-07-24 16:49:17.370 [info] Found: /usr/bin/python3.10 --> /usr/bin/python3.10
    2023-07-24 16:49:17.370 [info] Found: /home/workspace/mamba/bin/python --> /home/workspace/mamba/bin/python3.10
    2023-07-24 16:49:17.370 [info] Found: /home/workspace/mamba/bin/python3 --> /home/workspace/mamba/bin/python3.10
    2023-07-24 16:49:17.370 [info] Found: /home/workspace/mamba/bin/python3.1 --> /home/workspace/mamba/bin/python3.10
    2023-07-24 16:49:17.370 [info] Found: /home/workspace/mamba/bin/python3.10 --> /home/workspace/mamba/bin/python3.10
    2023-07-24 16:49:17.370 [info] > /bin/python3 -I ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/interpreterInfo.py
    2023-07-24 16:49:17.564 [info] > /usr/bin/python3 -I ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/interpreterInfo.py
    2023-07-24 16:49:18.094 [info] > conda run -n base --no-capture-output python ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/printEnvVariables.py
    2023-07-24 16:49:18.095 [info] shell: bash
    2023-07-24 16:49:18.115 [info] > ~/mamba/bin/python -I ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/interpreterInfo.py
    2023-07-24 16:49:18.210 [info] > ~/mamba/envs/default/bin/python -I ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/interpreterInfo.py
    2023-07-24 16:49:18.227 [info] > ~/mamba/envs/pcp/bin/python -I ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/interpreterInfo.py
    2023-07-24 16:49:19.858 [info] Starting Pylance language server.
    
  6. karrtikr commented on Jul 25, 2023

    @karrtikr

    That doesn't seem like the debug logs, can you demonstrate the logging level is set to trace for the Python extension? Try running Developer: Set log level command and take a screenshot.

  7. glinka commented on Jul 25, 2023

    @glinka
    Author

    You're right, I did select the Python trace logs but it didn't persist after reloading the window. Setting trace logging for everything worked though, here's the final few log lines (including an attempt to switch to the interpreter in the default mamba env), let me know if you need more:

    2023-07-25 07:22:20.537 [debug] Searching for pyenv environments
    2023-07-25 07:22:20.539 [debug] Searching for conda environments using conda
    2023-07-25 07:22:20.539 [debug] Cached data exists KeyPrefix=Cache_Method_Output_S.getEnvList-Args=
    2023-07-25 07:22:20.539 [debug] Couldn't locate the state binary.
    2023-07-25 07:22:20.540 [debug] Looking into conda env for executable: {"prefix":"/home/workspace/mamba","name":"base"}
    2023-07-25 07:22:20.542 [debug] Finished searching for custom virtual envs
    2023-07-25 07:22:20.542 [debug] Searching for workspace virtual envs in: /home/workspace/workspace-cc
    2023-07-25 07:22:20.542 [debug] Finished searching for poetry envs
    2023-07-25 07:22:20.543 [debug] Found executable within conda env {"prefix":"/home/workspace/mamba","name":"base"}
    2023-07-25 07:22:20.543 [debug] Found conda executable: /home/workspace/mamba/bin/python
    2023-07-25 07:22:20.543 [debug] Looking into conda env for executable: {"prefix":"/home/workspace/mamba/envs/default","name":"default"}
    2023-07-25 07:22:20.544 [debug] Finished searching for global virtual envs
    2023-07-25 07:22:20.546 [debug] Attempting to resolve symbolic link: /bin/python3
    2023-07-25 07:22:20.546 [debug] Found executable within conda env {"prefix":"/home/workspace/mamba/envs/default","name":"default"}
    2023-07-25 07:22:20.546 [debug] Found conda executable: /home/workspace/mamba/envs/default/bin/python
    2023-07-25 07:22:20.547 [info] Found: /bin/python3 --> /bin/python3.10
    2023-07-25 07:22:20.547 [debug] Attempting to resolve symbolic link: /bin/python3.10
    2023-07-25 07:22:20.547 [info] Found: /bin/python3.10 --> /bin/python3.10
    2023-07-25 07:22:20.558 [debug] Looking into conda env for executable: {"prefix":"/home/workspace/mamba/envs/ml","name":"ml"}
    2023-07-25 07:22:20.559 [debug] Found executable within conda env {"prefix":"/home/workspace/mamba/envs/ml","name":"ml"}
    2023-07-25 07:22:20.559 [debug] Found conda executable: /home/workspace/mamba/envs/ml/bin/python
    2023-07-25 07:22:20.560 [debug] Attempting to resolve symbolic link: /usr/bin/python3
    2023-07-25 07:22:20.572 [info] Found: /usr/bin/python3 --> /usr/bin/python3.10
    2023-07-25 07:22:20.572 [debug] Attempting to resolve symbolic link: /usr/bin/python3.10
    2023-07-25 07:22:20.574 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.575 [info] Found: /usr/bin/python3.10 --> /usr/bin/python3.10
    2023-07-25 07:22:20.578 [debug] Finished searching for conda environments
    2023-07-25 07:22:20.581 [debug] Finished searching for workspace virtual envs
    2023-07-25 07:22:20.586 [debug] Attempting to resolve symbolic link: /home/workspace/mamba/bin/python
    2023-07-25 07:22:20.587 [info] Found: /home/workspace/mamba/bin/python --> /home/workspace/mamba/bin/python3.10
    2023-07-25 07:22:20.587 [debug] Attempting to resolve symbolic link: /home/workspace/mamba/bin/python3
    2023-07-25 07:22:20.587 [info] Found: /home/workspace/mamba/bin/python3 --> /home/workspace/mamba/bin/python3.10
    2023-07-25 07:22:20.587 [debug] Attempting to resolve symbolic link: /home/workspace/mamba/bin/python3.1
    2023-07-25 07:22:20.588 [info] Found: /home/workspace/mamba/bin/python3.1 --> /home/workspace/mamba/bin/python3.10
    2023-07-25 07:22:20.588 [debug] Attempting to resolve symbolic link: /home/workspace/mamba/bin/python3.10
    2023-07-25 07:22:20.588 [debug] Storage update failed for key PYTHON_ENV_INFO_CACHE  retrying by resetting first
    2023-07-25 07:22:20.588 [debug] Storage update failed for key PYTHON_ENV_INFO_CACHE  retrying by resetting first
    2023-07-25 07:22:20.588 [debug] Storage update failed for key PYTHON_ENV_INFO_CACHE  retrying by resetting first
    2023-07-25 07:22:20.589 [info] Found: /home/workspace/mamba/bin/python3.10 --> /home/workspace/mamba/bin/python3.10
    2023-07-25 07:22:20.589 [debug] Found 3 python binaries in posix paths
    2023-07-25 07:22:20.597 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.599 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
    2023-07-25 07:22:20.603 [debug] Finished searching for interpreters in posix paths locator
    2023-07-25 07:22:20.604 [debug] Finished with environment reducer
    2023-07-25 07:22:20.606 [debug] Finished with environment resolver
    2023-07-25 07:22:20.607 [debug] Environments added to cache [{"name":"","location":"","kind":"global-other","executable":{"filename":"/bin/python3","sysPrefix":"/usr","ctime":1688741069565,"mtime":1660819144000},"display":"Python 3.10.6 64-bit","version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/bin/python3","detailedDisplayName":"Python 3.10.6 64-bit"},{"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/bin/python3","sysPrefix":"/usr","ctime":1688741069565,"mtime":1660819144000},"display":"Python 3.10.6 64-bit","version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/bin/python3","detailedDisplayName":"Python 3.10.6 64-bit"},{"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"},{"name":"default","location":"/home/workspace/mamba/envs/default","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/envs/default/bin/python","sysPrefix":"/home/workspace/mamba/envs/default","ctime":1689090613363,"mtime":1687297593000},"display":"Python 3.9.16 ('default')","version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/workspace/mamba/envs/default/bin/python","detailedDisplayName":"Python 3.9.16 ('default': conda)"},{"name":"ml","location":"/home/workspace/mamba/envs/ml","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/envs/ml/bin/python","sysPrefix":"/home/workspace/mamba/envs/ml","ctime":1689090892138,"mtime":1687297987000},"display":"Python 3.9.16 ('ml')","version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/workspace/mamba/envs/ml/bin/python","detailedDisplayName":"Python 3.9.16 ('ml': conda)"}]
    2023-07-25 07:22:20.612 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:20.612 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:20.619 [debug] Needed to validate /bin/python3 with latest info
    2023-07-25 07:22:20.620 [debug] Resolved /bin/python3 from cache: {"name":"","location":"","kind":"global-other","executable":{"filename":"/bin/python3","sysPrefix":"/usr","ctime":1688741069565,"mtime":1660819144000},"display":"Python 3.10.6 64-bit","version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/bin/python3","detailedDisplayName":"Python 3.10.6 64-bit"}
    2023-07-25 07:22:20.625 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:20.625 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:20.626 [debug] Needed to validate /usr/bin/python3 with latest info
    2023-07-25 07:22:20.626 [debug] Resolved /usr/bin/python3 from cache: {"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/bin/python3","sysPrefix":"/usr","ctime":1688741069565,"mtime":1660819144000},"display":"Python 3.10.6 64-bit","version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/bin/python3","detailedDisplayName":"Python 3.10.6 64-bit"}
    2023-07-25 07:22:20.627 [debug] Needed to validate /home/workspace/mamba/envs/default/bin/python with latest info
    2023-07-25 07:22:20.628 [debug] Resolved /home/workspace/mamba/envs/default/bin/python from cache: {"name":"default","location":"/home/workspace/mamba/envs/default","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/envs/default/bin/python","sysPrefix":"/home/workspace/mamba/envs/default","ctime":1689090613363,"mtime":1687297593000},"display":"Python 3.9.16 ('default')","version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/workspace/mamba/envs/default/bin/python","detailedDisplayName":"Python 3.9.16 ('default': conda)"}
    2023-07-25 07:22:20.629 [debug] Needed to validate /home/workspace/mamba/envs/ml/bin/python with latest info
    2023-07-25 07:22:20.629 [debug] Resolved /home/workspace/mamba/envs/ml/bin/python from cache: {"name":"ml","location":"/home/workspace/mamba/envs/ml","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/envs/ml/bin/python","sysPrefix":"/home/workspace/mamba/envs/ml","ctime":1689090892138,"mtime":1687297987000},"display":"Python 3.9.16 ('ml')","version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/workspace/mamba/envs/ml/bin/python","detailedDisplayName":"Python 3.9.16 ('ml': conda)"}
    2023-07-25 07:22:20.684 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.695 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.699 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.782 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
    2023-07-25 07:22:20.782 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
    2023-07-25 07:22:20.782 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:20.783 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:20.783 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:20.783 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:20.838 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.841 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
    2023-07-25 07:22:20.843 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.844 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
    2023-07-25 07:22:20.846 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
    2023-07-25 07:22:20.848 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
    2023-07-25 07:22:20.849 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
    2023-07-25 07:22:20.851 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
    2023-07-25 07:22:20.853 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.855 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
    2023-07-25 07:22:20.966 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
    2023-07-25 07:22:20.969 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.971 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.973 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/bin/python3","id":"/bin/python3","executable":{"uri":{"$mid":1,"path":"/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"tools":[]},"id":"/bin/python3"}
    2023-07-25 07:22:20.974 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.976 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/workspace/mamba/envs/default/bin/python","id":"/home/workspace/mamba/envs/default/bin/python","executable":{"uri":{"$mid":1,"path":"/home/workspace/mamba/envs/default/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/workspace/mamba/envs/default"},"environment":{"type":"Conda","name":"default","folderUri":{"$mid":1,"path":"/home/workspace/mamba/envs/default","scheme":"file"}},"version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"tools":["Conda"]},"id":"/home/workspace/mamba/envs/default/bin/python"}
    2023-07-25 07:22:20.978 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/workspace/mamba/bin/python","id":"/home/workspace/mamba/bin/python","executable":{"uri":{"$mid":1,"path":"/home/workspace/mamba/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/workspace/mamba"},"environment":{"type":"Conda","name":"base","folderUri":{"$mid":1,"path":"/home/workspace/mamba","scheme":"file"}},"version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"tools":["Conda"]},"id":"/home/workspace/mamba/bin/python"}
    2023-07-25 07:22:20.979 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python3","id":"/usr/bin/python3","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"tools":[]},"id":"/usr/bin/python3"}
    2023-07-25 07:22:20.981 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/workspace/mamba/envs/ml/bin/python","id":"/home/workspace/mamba/envs/ml/bin/python","executable":{"uri":{"$mid":1,"path":"/home/workspace/mamba/envs/ml/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/workspace/mamba/envs/ml"},"environment":{"type":"Conda","name":"ml","folderUri":{"$mid":1,"path":"/home/workspace/mamba/envs/ml","scheme":"file"}},"version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"tools":["Conda"]},"id":"/home/workspace/mamba/envs/ml/bin/python"}
    2023-07-25 07:22:20.983 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
    2023-07-25 07:22:20.989 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
    2023-07-25 07:22:20.991 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
    2023-07-25 07:22:20.993 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/home/workspace/mamba/bin/python","path":"/home/workspace/mamba/bin/python"}
    2023-07-25 07:22:21.005 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
    2023-07-25 07:22:21.007 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
    2023-07-25 07:22:21.136 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
    2023-07-25 07:22:21.136 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:21.137 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:21.185 [debug] Clearing context for python dependencies not installed: /home/workspace/workspace-cc/dvt/embed.py
    2023-07-25 07:22:21.999 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
    2023-07-25 07:22:21.999 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
    2023-07-25 07:22:21.999 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
    2023-07-25 07:22:21.999 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:21.999 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:21.999 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:21.999 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:21.999 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:21.999 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:22.049 [debug] Clearing context for python dependencies not installed: /home/workspace/workspace-cc/dvt/embed.py
    2023-07-25 07:22:22.197 [info] Starting Pylance language server.
    2023-07-25 07:22:22.201 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
    2023-07-25 07:22:22.201 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:22.201 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:22.205 [debug] [object Object]. Shell identified as undefined 
    2023-07-25 07:22:22.205 [debug] Shell path '/usr/bin/bash', base path '/usr/bin/bash'
    2023-07-25 07:22:22.205 [debug] Shell path identified as shell 'bash'
    2023-07-25 07:22:22.205 [debug] Terminal shell path '/usr/bin/bash' identified as shell 'bash'
    2023-07-25 07:22:22.205 [debug] [object Object]. Shell identified as bash 
    2023-07-25 07:22:22.205 [debug] Shell identified as 'bash'
    2023-07-25 07:22:22.205 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
    2023-07-25 07:22:22.206 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:22.206 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:22.206 [debug] Cached data exists KeyPrefix=Cache_Method_Output_S.getCondaVersion-Args=
    2023-07-25 07:22:22.207 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"dev-container_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/workspace/workspace-cc"-Arg-Separator-undefined
    2023-07-25 07:22:22.207 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"dev-container_WORKSPACE_INTERPRETER_PATH_/home/workspace/workspace-cc/cc.code-workspace"-Arg-Separator-undefined
    2023-07-25 07:22:22.207 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/home/workspace/workspace-cc"-Arg-Separator-undefined
    2023-07-25 07:22:22.220 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:22.220 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:22.333 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
    2023-07-25 07:22:22.336 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/workspace/mamba/bin/python","path":"/home/workspace/mamba/bin/python"}
    2023-07-25 07:22:22.339 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
    2023-07-25 07:22:24.395 [debug] Clearing context for python dependencies not installed: /home/workspace/workspace-cc/dvt/embed.py
    2023-07-25 07:22:33.656 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
    2023-07-25 07:22:33.657 [debug] Found cached env for /home/workspace/mamba/bin/python
    2023-07-25 07:22:33.657 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
    2023-07-25 07:22:35.541 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"dev-container_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/workspace/workspace-cc"-Arg-Separator-undefined
    2023-07-25 07:22:35.542 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"dev-container_WORKSPACE_INTERPRETER_PATH_/home/workspace/workspace-cc/cc.code-workspace"-Arg-Separator-undefined
    2023-07-25 07:22:35.542 [debug] Found cached env for /home/workspace/mamba/envs/default/bin/python
    2023-07-25 07:22:35.542 [debug] Resolved /home/workspace/mamba/envs/default/bin/python from cache: {"name":"default","location":"/home/workspace/mamba/envs/default","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/envs/default/bin/python","sysPrefix":"/home/workspace/mamba/envs/default","ctime":1689090613363,"mtime":1687297593000},"display":"Python 3.9.16 ('default')","version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/workspace/mamba/envs/default/bin/python","detailedDisplayName":"Python 3.9.16 ('default': conda)"}
    
  8. 23 remaining items

  9. karrtikr commented on Jul 25, 2023

    @karrtikr

    You're welcome, reopening so we can do this: #21220 (comment).

  10. karrtikr commented on Jul 25, 2023

    @karrtikr

    FYI there's a
    image

    which is targeted to the problematic cache and might be better suited than "clear cache" command, which clears entire cache.

  11. karrtikr commented on Jul 25, 2023

    @karrtikr

    Verification steps:

    • Use File -> Add folder to workspace... option to open a folder
    • Make sure there is only one folder opened
    • Make sure "Select the workspace folder" quickpick does not show up when using "Python: Select Interpreter" command:

    image

  12. karrtikr commented on Jul 25, 2023

    @karrtikr

    Alexander Holiday (@glinka) Fix should be out in the pre-release version of the extension in a day, use the following to try it out:

    image

  13. locked as resolved and limited conversation to collaborators on Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-environmentsFeatures relating to handling interpreter environmentsauthor-verification-requestedIssues potentially verifiable by issue authordebtCode quality issues

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions