I recently began using Windows 10. Obviously, after the upgrade, my environmental PATH variable migrated to the new OS. On windows 10, I installed Python 3.4. After the install, I updated my PATH variable with:
;C:\Python34\Scripts;C:\Python34\python.exe;
However, the cmd still does not find the python commands. It would seem as if the PATH variable just plainly was not updated. Any advice on how to fix this?
Open the command prompt using console.
write command as python [Press Enter]
If it shows the above error of "not recognized" command, don't worry.
Write you Python installed path in below statement, as for me It is C:\\Python34
setx path "%PATH%";C:\Python34"
Run the above command on your command prompt as below Screenshot
Run command python again, still shows same error.
Okay, close you command prompt window & open again, type now python and press enter, It will now show what you are expecting.
Hope it works!!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.