Adding Python Path on Windows 7

后端 未结 19 1661
盖世英雄少女心
盖世英雄少女心 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

    You can set the path from the current cmd window using the PATH = command. That will only add it for the current cmd instance. if you want to add it permanently, you should add it to system variables. (Computer > Advanced System Settings > Environment Variables)

    You would goto your cmd instance, and put in PATH=C:/Python27/;%PATH%.

提交回复
热议问题