用户工具

站点工具


zh:notes:install_python3-pip

这是本文档旧的修订版!


Install Python3-pip

Operation System

CentOS 7.6 (64 bits)

Requirements

Install Dependencies

> yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel

Install setuptools

> wget https://files.pythonhosted.org/packages/12/68/95515eaff788370246dac534830ea9ccb0758e921ac9e9041996026ecaf2/setuptools-53.0.0.tar.gz
> tar -zxvf setuptools-53.0.0.tar.gz
> rm -f setuptools-53.0.0.tar.gz
> cd setuptools-53.0.0
> python setup.py build
> python setup.py install

Install pip

> wget https://files.pythonhosted.org/packages/b7/2d/ad02de84a4c9fd3b1958dc9fb72764de1aa2605a9d7e943837be6ad82337/pip-21.0.1.tar.gz
> tar -zxvf pip-21.0.1.tar.gz
> cd pip-21.0.1
> python setup.py build
> python setup.py install
zh/notes/install_python3-pip.1613462302.txt.gz · 最后更改: 2021/02/16 15:58 由 pzczxs