Open JavierEscobarOrtiz opened 2 months ago
The problem is solved by downgrading the Python extension from v2024.14.0
to v2024.10.0
.
Same problem proposed fixes it indeed
The problem is solved by downgrading the Python extension from
v2024.14.0
tov2024.10.0
.
I would like to add a similar error encountered on Win10:
[info] python ~.vscode\extensions\ms-python.python-2024.14.1-win32-x64\python_files\unittestadapter\discovery.py --udiscovery -v -s ./test -p test_*.py
[info] cwd s:\my_project\correct\path
[error] Python konnte nicht gefunden werden. F�hren Sie die Verkn�pfung ohne Argumente aus, um sie �ber den Microsoft Store zu installieren, oder deaktivieren Sie diese Verkn�pfung unter
[error] Subprocess exited unsuccessfully with exit code 9009 and signal null on workspace s:\my_project\correct\path.
Python not found. This seemed a bit weird to me.
To at least have VSCode and the terminals in it find Python again (but now it seems to use the overall conda base environment instead the env I set at workspace level, leading me here), I had to do this after a win-update:
Manually deactivate the windows-sliders python.exe
and python3.exe
which invoked the Microsoft Store when unittest discovery was called.
This can be found at "win+i / Settings->Apps&Features->App execution Alias-> the two App-Installer-Sliders responsible for python(3)".
Now I can downgrade as mentioned above.
Edit: v2024.10.0
works for me as well.
Thank you!
I am encountering a similar issue. Test discovery is working for me and not for him; however, we are both on python extension v2024.20.0
. The difference we are seeing is that my logs say this:
And his say:
What is the test adapter? What is different in my environment that I am using the "new test adapter"?
Hello,
I am trying to use the VSCode Testing module with my
skforecast_py11
environment which haswerkzeug == 3.0.4
installed. The OUTPUT Python section gives me the error `ModuleNotFoundError: No module named 'werkzeug' (see logs below), which is impossible. This is causing that the module doesn't work:Any help is appreciated!
VSCode version: 1.93.0 Python: 3.11.5 (package list below)
Package list: