How to run Pip commands from CMD

后端 未结 7 1208
醉酒成梦
醉酒成梦 2020-11-28 02:16

As I understand, Python 2.7.9 comes with Pip installed, however when I try to execute a Pip command from CMD (Windows) I get the following error:



        
相关标签:
7条回答
  • 2020-11-28 02:58

    Firstly make sure that you have installed python 2.7 or higher

    Open Command Prompt as administrator and change directory to python and then change directory to Scripts by typing cd Scripts then type pip.exe and now you can install modules Step by Step:

    • Open Cmd

    • type in "cd \" and then enter

    • type in "cd python2.7" and then enter

    Note that my python version is 2.7 so my directory is that so use your python folder here...

    • type in "cd Scripts" and enter

    • Now enter this "pip.exe"

    • Now it prompts you to install modules

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