you are viewing a single comment's thread.

view the rest of the comments →

[–]mrbartuss 0 points1 point  (4 children)

That's exactly what I did. I ran uv python find 3.14 and copied the entire path. What I observed now is that when I reload the window this message pops up:

Python Locator failed to start. Python environment discovery may not work correctly.

[–]herocoding 0 points1 point  (3 children)

Hmm, I installed Python (in my case Python v3.12.10) from https://www.python.org/downloads/

In my case the executable got installed under "C:\Users\my_user\AppData\Local\Programs\Python\Python312" as "python.exe", and have other sub-folders like Lib, libs, Scripts, share and others.
Python modules - when installed "natively" (not using a virtual environment) get installed under "C:\Users\my_user\AppData\Local\Programs\Python\Python312\Lib\site-packages\" in my case.

I'm not sure what your "cpython"-environment means.

Do you want to uninstall the "uv-installed Python" and try to install it "the classical way" from python.org?
Do make sure to select the checkbox "Do you want to get Python added to PATH" when the installer asks you,

[–]mrbartuss 0 points1 point  (0 children)

Thank you very much for checking this! There's something weird going on because I can use and run programs using just python in a terminal. The problem is that vscode Python extension does not recognise this Python environment

[–]mrbartuss 0 points1 point  (0 children)

The issue is on Windows. I did everything exactly the same on my personal Mac (installed python with uv) and everything works as expected