Adding Python Path on Windows 7

后端 未结 19 2111
盖世英雄少女心
盖世英雄少女心 2020-11-21 23:37

I\'ve been trying to add the Python path to the command line on Windows 7, yet no matter the method I try, nothing seems to work. I\'ve used the set command, I\

19条回答
  •  天命终不由人
    2020-11-22 00:30

    Open cmd.exe with administrator privileges (right click on app). Then type:

    setx path "%path%;C:\Python27;"

    Remember to end with a semi-colon and don't include a trailing slash.

提交回复
热议问题