Recommended way to install pip(3) on centos7

前端 未结 8 1821
梦如初夏
梦如初夏 2020-12-08 07:12

I am interrested in knowing the recommended way to install pip3 for python3.6 (as of today, may 2018) on current version of centos7 (7.5.1804) and the accepted answer of How

8条回答
  •  爱一瞬间的悲伤
    2020-12-08 07:37

    I got this error when I tried to install python36 over the built-in centos7 python 2.7.5 version:

    Transaction check error:
      file /etc/rpm/macros.python from install of python-rpm-macros-3-32.el7.noarch conflicts with file from package python-devel-2.7.5-80.el7_6.x86_64
    

    And I fixed it with these:

    yum install python36
    yum update python-devel
    yum install python36-devel
    easy_install-3.6 pip
    

提交回复
热议问题