How to install python packages for python3 in CentOS7

This question already has an answer here:

  • How to install pip with Python 3? 16 answers

  • This stackoverflow post explains how to install pip for python3 in CentosOS7.

    Installing pip on CentOS 7 for Python 3.x

    Assuming you installed Python 3.4 from EPEL, you can install Python 3's setup tools and use it to install pip.

    # First command requires you to have enabled EPEL for CentOS7
    sudo yum install python34-setuptools
    sudo easy_install pip
    

    You can add the IUS repo and then install Python3 via yum. https://ius.io/GettingStarted/

    However, linking python to python3 will break a lot of things on your system.

    链接地址: http://www.djcxy.com/p/72016.html

    上一篇: 在Synology DiskStation上导入pandas Python3

    下一篇: 如何在CentOS7中安装python3的python软件包