How to install pip in CentOS 7?

前端 未结 10 1235
暖寄归人
暖寄归人 2020-12-02 05:57

CentOS 7 EPEL now includes Python 3.4: yum install python34

However, when I try that, even though Python 3.4 installs successfully, it doesn\'t appear t

10条回答
  •  日久生厌
    2020-12-02 07:00

    There is a easy way of doing this by just using easy_install (A Setuptools to package python librarie).

    • Assumption. Before doing this check whether you have python installed into your Centos machine (at least 2.x).

    • Steps to install pip.

      1. So lets do install easy_install,

        sudo yum install python-setuptools python-setuptools-devel

      2. Now lets do pip with easy_install,

        sudo easy_install pip

    That's Great. Now you have pip :)

提交回复
热议问题