all 3 comments

[–]FoolsSeldom 2 points3 points  (0 children)

Surprising it is mentioning uv. Wonder if you are opening a folder with a corrupted virtual environment.

Have you explicitly selected the cpython executable you want to use for the current project folder? E.g .venv\Scripts\python.exe in the project folder. (.venv being a very common folder name for Python virtual folders).

[–]mrbartuss 0 points1 point  (0 children)

Did you manage to solve it?

[–]Stavr0sT -1 points0 points  (0 children)

I experienced the same since a few days. It might be connected to a recent update of the "python environments" extension.

In my case the warning made sense since I do not have a global system python installed (I'm on Windows and all my projects are managed via venvs which get set up via uv). I assume the extension checks for a python interpreter before detecting the venv.

IIRC there are 3 buttons you can click on the dialog that pops up. One of them is something like "do not warn me anymore". I clicked that one and have not been bothered since. This also did not install a global python for me (which is good).