Adding Python Path on Windows 7

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

    Python comes with a small utility that does just this. From the command line run:

    c:\python27\tools\scripts\win_add2path.py
    

    Make sure you close the command window (with exit or the close button) and open it again.

提交回复
热议问题