-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The new pythonTestAdapter does not find python executable #24572
Comments
@michaelschwier You have a very old version of python extension, please install 2024.20.0 or newer. |
"very old" is relative, it was 3 months old ;) Anyway I updated to 2024.20.0 and it indeed works now, thanks. What puzzles me: The extension was set to auto update, it seems it didn't do that. VSCode itself, however, is set to manual update, does that override auto update settings in extensions? And more curiously: I didn't do any manual update of VSCode (or Extensions) since 3 months ago, but Python Testing worked fine just a few weeks ago - weird it would suddenly stop working without apparent updates ... |
Thanks for confirming that it works. I am not sure about manual update on vscode changing extensions update. @sandy081 do you know if manual update for vscode changes extensions update? |
I am not sure what is manual update mean here? |
Type: Bug
Behaviour
I cannot run unittests with the new pythonTestAdapter. During test discovery I get the error that "Python" could not be found and hence the test process exits.
But:
"python.experiments.optOutFrom": ["pythonTestAdapter"]
to settings.json, integrated testing works fine.Steps to reproduce:
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.14.1
VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Windows_NT x64 10.0.19045
Modes:
python.languageServer
setting: 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: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: