简体   繁体   中英

Python not recognised as command

I know that I need to add Python to my PATH and I've tried to add it by copy and pasting its address C:\\Users\\aiden\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Python 3.6 to my PATH , but when I try to use python in the command prompt, it is not recognized as a command.

Here an image of my PATH variable:

It seems very unlikely that your python has been installed to the Start Menu path. Try

  1. Right-click on your 'Python 3.6' in your start menu path and open file location
  2. In the folder that appears, right-click on 'Python 3.6' and copy the text from 'Target'
  3. Add the Target-text into 'system environment variables' where the variable name is 'Path'

You might need to logout and in again, for this to take affect.

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