Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to switch Python environment in the terminal.(conda) #24458

Open
xiaohundun opened this issue Apr 11, 2024 · 2 comments
Open

Unable to switch Python environment in the terminal.(conda) #24458

xiaohundun opened this issue Apr 11, 2024 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team

Comments

@xiaohundun
Copy link

Type: Bug

(base) ➜  learn-langchain which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
(base) ➜  learn-langchain conda activate base
(base) ➜  learn-langchain which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
(base) ➜  learn-langchain conda activate learn-langchain   
(learn-langchain) ➜  learn-langchain which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
(learn-langchain) ➜  learn-langchain conda deactivate              
(base) ➜  learn-langchain which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
(base) ➜  learn-langchain 

VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:28:09.495Z)
OS version: Darwin arm64 23.4.0
Modes:

  • Python version (& distribution if applicable, e.g. Anaconda): 3.10.10
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
  • Value of the python.languageServer setting: Default
User Settings


condaPath: "<placeholder>"

languageServer: "Pylance"

Installed Extensions
Extension Name Extension Id Version
Black Formatter ms-python.black-formatter 2024.2.0
Browse Lite antfu.browse-lite 0.3.9
Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code MS-CEINTL.vscode-language-pack-zh-hans 1.88.2024041009
ESLint dbaeumer.vscode-eslint 2.4.4
Fig withfig.fig 0.0.7
GitLens — Git supercharged eamodio.gitlens 14.9.0
Import Cost wix.vscode-import-cost 3.3.0
IntelliCode VisualStudioExptTeam.vscodeintellicode 1.3.1
IntelliCode API Usage Examples VisualStudioExptTeam.intellicode-api-usage-examples 0.2.8
JavaScript Debugger ms-vscode.js-debug 1.88.0
JavaScript Debugger Companion Extension ms-vscode.js-debug-companion 1.1.2
MacOS Modern Theme davidbwaters.macos-modern-theme 2.3.19
npm Intellisense christian-kohler.npm-intellisense 1.4.5
Prettier - Code formatter esbenp.prettier-vscode 10.4.0
Pylance ms-python.vscode-pylance 2024.4.1
Python ms-python.python 2024.4.1
Python Debugger ms-python.debugpy 2024.4.0
SVG jock.svg 1.5.3
Table Visualizer for JavaScript Profiles ms-vscode.vscode-js-profile-table 1.0.8
Tailwind CSS IntelliSense bradlc.vscode-tailwindcss 0.10.5
Vite antfu.vite 0.2.5
vscode-icons vscode-icons-team.vscode-icons 12.7.0
Vue Language Features (Volar) Vue.volar 1.8.27
XML Tools DotJoshJohnson.xml 2.5.1
ZhiHu Daily TaipaXu.zhihu-daily-vscode 0.2.0
System Info
Item Value
CPUs Apple M1 Pro (10 x 24)
GPU Status 2d_canvas: enabled
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: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 2, 2, 3
Memory (System) 32.00GB (0.14GB free)
Process Argv --crash-reporter-id 4fc4b975-4d63-4bf3-81ef-e37ad70b0cd0
Screen Reader yes
VM 0%
Extensions (22)
Extension Author (truncated) Version
browse-lite ant 0.3.9
vite ant 0.2.5
vscode-tailwindcss bra 0.10.5
npm-intellisense chr 1.4.5
macos-modern-theme dav 2.3.19
vscode-eslint dba 2.4.4
xml Dot 2.5.1
gitlens eam 14.9.0
prettier-vscode esb 10.4.0
svg joc 1.5.3
vscode-language-pack-zh-hans MS- 1.88.2024041009
black-formatter ms- 2024.2.0
debugpy ms- 2024.4.0
python ms- 2024.4.1
vscode-pylance ms- 2024.4.1
zhihu-daily-vscode Tai 0.2.0
intellicode-api-usage-examples Vis 0.2.8
vscodeintellicode Vis 1.3.1
vscode-icons vsc 12.7.0
volar Vue 1.8.27
fig wit 0.0.7
vscode-import-cost wix 3.3.0
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
d6fi2104:30959263
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
dsvsc021:30996838
gd77d436:30999572
da93g388:31013173

@davidfokkema
Copy link

davidfokkema commented Nov 14, 2024

Depending on how VS code was started, this may be a duplicate of #23571?

@karthiknadig karthiknadig transferred this issue from microsoft/vscode Nov 18, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Nov 18, 2024
@karthiknadig
Copy link
Member

@xiaohundun Can you provide details on how VS Code was launched? Also, please share your User settings.json.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Nov 18, 2024
@karthiknadig karthiknadig added bug Issue identified by VS Code Team member as probable bug and removed info-needed Issue requires more information from poster labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

4 participants