简体   繁体   中英

The term 'python' is not recognized as the name of a cmdlet

I've installed python, and added it's path to system variables "C:\\Python27" but when typing "python" to powershell, I get error mentioned in title. I also can't run it from cmd.

And yes, my python folder is in c directory.

Type .\\python.exe .\\

PS C:\\Python27> .\\python.exe .\\PRACTICE.py

Typing only python will not get recognized by windows.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM