microsoft / vscode-python

Python extension for Visual Studio Code
https://aka.ms/pvsc-marketplace
MIT License
4.26k stars 1.16k forks source link

can not change the codna env #23665

Open robin-ai-ml opened 4 weeks ago

robin-ai-ml commented 4 weeks ago

Type: Bug

i use conda to create the envronment name open-mmlab. and install all the openmmlab components i can switch conda env from base to open-mmlab, but i can not switch the conda envs in the right bottom of vscode

VS Code version: Code 1.90.2 (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:33:48.698Z) OS version: Linux x64 5.19.0-43-generic Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 4000)| |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
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|1, 1, 1| |Memory (System)|15.47GB (9.57GB free)| |Process Argv|--crash-reporter-id 2601cb05-a71d-47d3-abbb-7723761d7d47 --crash-reporter-id 2601cb05-a71d-47d3-abbb-7723761d7d47| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|ubuntu| |XDG_CURRENT_DESKTOP|Unity| |XDG_SESSION_DESKTOP|ubuntu| |XDG_SESSION_TYPE|x11|
Extensions (20) Extension|Author (truncated)|Version ---|---|--- aixcoder|aix|5.1.1 codeium|Cod|1.8.66 chatgpt-vscode|gen|0.0.11 mdmath|goe|2.7.4 dvc|ite|1.2.14 vscode-latex|mat|1.3.0 autopep8|ms-|2024.0.0 debugpy|ms-|2024.6.0 python|ms-|2024.8.1 vscode-pylance|ms-|2024.6.1 jupyter|ms-|2024.5.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.18 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 cpptools|ms-|1.20.5 markdown-preview-enhanced|shd|0.8.13 tabnine-vscode|Tab|3.112.0 pdf|tom|1.2.2 markdown-pdf|yza|1.5.0
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 vscaat:30438848 c4g48928:30535728 azure-dev_surveyone:30548225 vscrp:30673768 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 showvideoc:31016891 chatpanelt:31048053 dsvsc021:30996838 f3je6385:31013174 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 newcmakeconfigv2:31071590 legacy_priority:31077528 ```
karthiknadig commented 3 weeks ago

@robin-ai-ml Are you using the "Python: Select Interpreter" command to select the python? Also, is the conda python version >= 3.8? Would it be possible for you to share the logs from Output> Python