On 3/28/2026 12:13 AM, Mark Mattson via Python-list wrote:
  Hello python,  I downloaded some python scripts pymovie and pyote from
iota and followed instructions to get the older version of python to run on
my windows 11 machine.  If I run python from cmd line it jumps to a store
window for python installation.  If I hit start and run python from there
it opens >>>
but when I try to run the bat file for my programs the error say python not
found.  There are many python exe files on computer now and I put many
paths into the env see below. but it stii can't find python to run. Can you
help?
thanks Mark

You should have the "py" launcher on your computer. It is likely to have been installed already. You can launch any installed version of Python and also set the default one. To see which Python versions are available, run

py -0

To run a Python program "your_program.py" with the default version, run

py your_program.py

To run it with Python 3.10 (if installed, of course), run

py -3.10 your_program.py

It would be a good idea to remove all those Python-related path segments from your path if they don't point to the version you normally want to run. Also run the pip installer as a module:

py -m pip ....

This make sure that the right version of pip is run for the Python executable that is in use.

If you don't have the "py" launcher installed you can get it from either python.org or the Windows Store.


--
https://mail.python.org/mailman3//lists/python-list.python.org

Reply via email to