pip not working on windows python 2.7.9

前端 未结 8 1560
一向
一向 2021-01-05 18:45

I\'ve installed Python 2.7.9, which comes with already bundled with pip. I\'ve check that it\'s there in the modules list. But when I run pip install I get

8条回答
  •  梦毁少年i
    2021-01-05 19:08

    Seems like you are running pip install from Python interactive console. Instead, you should run it from Windows console (cmd or PowerShell):

    python2.exe -m pip install 
    

    Where python2.exe is executable for Python2.7.9 (you may need to include full path to the executable file) and is the name of package you want to install

提交回复
热议问题