Adding Python Path on Windows 7

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

    This question is pretty old, but I just ran into a similar problem and my particular solution wasn't listed here:

    Make sure you don't have a folder in your PATH that doesn't exist.

    In my case, I had a bunch of default folders (Windows, Powershell, Sql Server, etc) and then a custom C:\bin that I typically use, and then various other tweaks like c:\python17, etc. It turns out that the cmd processor was finding that c:\bin didn't exist and then stopped processing the rest of the variable.

    Also, I don't know that I ever would have noticed this without PATH manager. It nicely highlighted the fact that that item was invalid.

    0 讨论(0)
提交回复
热议问题