How to install pip with Python 3?

后端 未结 21 1548
夕颜
夕颜 2020-11-22 01:06

I want to install pip. It should support Python 3, but it requires setuptools, which is available only for Python 2.

How can I install pip with Python 3?

21条回答
  •  一个人的身影
    2020-11-22 01:48

    To install pip, securely download get-pip.py.

    Then run the following:

    python get-pip.py
    

    Be cautious if you're using a Python install that's managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state.

    Refer: PIP Installation

提交回复
热议问题