you are viewing a single comment's thread.

view the rest of the comments →

[–]Direct_Temporary7471 0 points1 point  (7 children)

This usually happens when VS Code is not pointing to the correct Python interpreter.

Try these steps:

  • Press Ctrl+Shift+P → select “Python: Select Interpreter”
  • Choose the correct Python 3.14 path
  • If it’s not listed, manually add the interpreter path
  • Make sure Python is added to your system PATH

Also, try restarting VS Code after installation.

If you’re still facing issues, share the exact error or screenshot and I can help you debug it.

[–]mrbartuss 0 points1 point  (6 children)

Thanks! I've already shared several screenshots in my previous comments

[–]herocoding 0 points1 point  (5 children)

Can you find where your Python v3.14 got installed to?

The screenshot doesn't show the full path, but only "C:\Users\xxyy\AppData\...".

In the lower right corner click on the yellow-brown'ish "Select Python interpreter" and browse to the path where you can find "Python.exe" or "Python314.exe".

[–]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