I have several versions of Python installed on my system, and a software I use requires using Python3.11, the problem is that the most recent version of Python is the one Windows defaults to, i.e. if I type ‘py’ in the terminal, it automatically starts Python3.12.3, and I would like to start the program with Python3.11.9.
I tried to do it as it would be done in Linux, (python3.11 .\main.py) but it just doesn't recognise the ‘Python3.11’ command.
How do I do this?
PS: All the Python installations are added to the path, the problem is that the executable is named the same in all of them "python.exe", so when I run "py" or "python" in the console, it just takes the latest version by default as I said.
but it just doesn't recognise the ‘Python3.11’ command
... thePython3.11
is probably an alias in Linux ... try using a Windows shortcut