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

Python extension failing to be used. #239659

Open
LukeLIN-web opened this issue Feb 5, 2025 · 1 comment
Open

Python extension failing to be used. #239659

LukeLIN-web opened this issue Feb 5, 2025 · 1 comment
Assignees

Comments

@LukeLIN-web
Copy link

LukeLIN-web commented Feb 5, 2025

Type: Bug

When activating python extension, I see "Reactivating Terminal" in the status bar, and it does not go away.

Same with microsoft/vscode-python#24699 (comment)

Output > Python

[21:44:24.177] No hints found in the recent session.
[21:44:24.215] [server] Checking /hovscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/log.txt and .vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/pid.txt for a running server...
[21:44:24.220] [server] Found running server (pid=2746011)
[21:44:25.217] Opening exec server for ssh-remote+7b22686f73744e616d65223a224136303030227d
[21:44:25.242] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a224136303030227d
[21:44:25.242] No hints found in the recent session.
[21:44:25.252] Opening exec server for ssh-remote+7b22686f73744e616d65223a224136303030227d
[21:44:25.257] Verified and reusing cached exec server for ssh-remote+7b22686f73744e616d65223a224136303030227d
[21:44:25.257] No hints found in the recent session.

I think the problem is it locate to my deleted env latte! How to change the locator?

2025-02-04 21:51:47.926 [error] Failed to execute Python to resolve info "/Users/miniconda3/envs/latte/bin/python": No such file or directory (os error 2)
2025-02-04 21:51:47.926 [warning] Unknown Python Env "/Users/miniconda3/envs/latte/bin/python"
2025-02-04 21:51:47.926 [error] Failed to resolve env "/Users/miniconda3/envs/latte/bin/python"

VS Code version: Code 1.96.4 (Universal) (cd4ee3b, 2025-01-16T00:16:19.038Z)
OS version: Darwin arm64 23.6.0
Modes:
Remote OS version: Linux x64 6.5.0-15-generic
Connection to 'ssh-remote+7b22686f73744e616d65223a224136303030227d' could not be established

System Info
Item Value
CPUs Apple M2 (8 x 2400)
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
webnn: disabled_off
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.30GB free)
Process Argv --crash-reporter-id ab7838aa-077e-4c05-91be-c6b2cb8dcff5
Screen Reader no
VM 0%
Item Value
Remote SSH: A6000
OS Linux x64 6.5.0-15-generic
CPUs Intel(R) Xeon(R) Gold 5418Y (96 x 799)
Memory (System) 251.56GB (224.17GB free)
VM 0%

Connection to 'ssh-remote+7b22686f73744e616d65223a224136303030227d' could not be established

Extensions (14)
Extension Author (truncated) Version
jupyter-keymap ms- 1.1.2
remote-containers ms- 0.394.0
remote-ssh ms- 0.116.1
remote-ssh-edit ms- 0.87.0
remote-explorer ms- 0.4.3
swdc-vscode sof 2.8.3
pdf tom 1.2.2
errorlens use 3.23.0
copilot Git 1.263.0
copilot-chat Git 0.23.2
vscode-language-pack-zh-hans MS- 1.96.2024121109
debugpy ms- 2024.15.2025012801
python ms- 2024.23.2025012801
vscode-pylance ms- 2025.1.102

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31217127
hdaa2157:31222309
copilot_t_ci:31222730

@LukeLIN-web
Copy link
Author

LukeLIN-web commented Feb 5, 2025

Good, setting python.locator to js solve my problem, I can reset my Python Env now.

native default to latte env and cannot change by myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants