I installed 3.13.9 and 3.14.3 in my laptop. I changed my VSCODE python interpreter into 3.13.9 to use pygame. Yet it when I run the py –version it shows 3.14.6 even after i used json into my project folder. aside this I couldn’t output print(“hello, World”). i decided to uninstall the 3.14 i will wait until it supports most of the python libraries. if you have idea how to fix this please share your methods and thoughts because A.i. didn’t solve it and it just keep saying i should make virtual environment, but im lazy to do it so yea.
py by defaults refers to the globally installed python and it uses the newest version. What VS code has configured doesn’t matter all.
The correct solution is to use a venv. Or uninstall 3.14.3 and reinstall it as needed if you think that is less effort.
1 Like
I’ve been using uv for managing virtual environments and Python versions. You can usually run it in existing projects, you just need to specify a python version and dependencies in a pyproject.toml