Solution if Python is not recognized as a command #130
River-Mochi
started this conversation in
Ideas
Replies: 1 comment
-
Another note is the install python as administrator and check the box "install for all users" or else it will go to a different path. from: https://stackoverflow.com/questions/5087831/how-should-i-set-default-python-version-in-windows |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Python 3.10 or better is needed for PineSAM.
Follow the instructions to install newest 3.11 or better using the PATHS and variables suggested here
If that does not work, check your system variables PATH. There should be two entries for the new Python 3.11
one for PATH to the python.exe location that just installed and one for PATH to python scripts folder
go to Windows run box, and type "edit the system environment variables" that will find the correct item to open the location to edit or check.
Select "Environment Variables" at the bottom of the box that opens.
Should see this. . Once the the two lines for the newest Python are confirmed as the correct paths to python.exe and scripts folder, then move them to the top of this list:
This video also shows how to check that the PATH is correct:
https://www.youtube.com/watch?v=Ule1a9vFtZs
py --list
shows currently installed pythons. if having a lot of difficulties, consider uninstalling all versions of python, and then reinstalling just the newest version per screenshots options listed here .Beta Was this translation helpful? Give feedback.
All reactions