Cannot install PIP on Windows 10

后端 未结 2 1211
遥遥无期
遥遥无期 2021-01-15 00:13

I ran the Python 3.5.1 installer from https://www.python.org/downloads/release/python-351/. However, on the command line, when I go to run pip, I see an error:

2条回答
  •  感情败类
    2021-01-15 00:27

    You must to add pip's path into Environment Variables. Pip is contained in python's script directory.

    Example my case: C:\Python34\Scripts\pip.exe

    To add path to environment variables.

    1. Hold Win and press Pause.
    2. Click Advanced System Settings.
    3. Click Environment Variables.
    4. Add C:\Python34\Scripts (Sorry I don't know name of python 3.5's directory) to the Path on System variables.
    5. Restart Command Prompt.

    Edit

    In another way, you can use pip-Win instead of pip. Read more here: https://sites.google.com/site/pydatalog/python/pip-for-windows

提交回复
热议问题