After all, the rich third-party library is the advantage of Python, in order to more easily install third-party libraries, using the PIP command, we need to do the appropriate installation.
1. Pre-installation Setuptools required before PIP installation
The command is as follows:
wget--no-check-certificate HTTPS://PYPI.PYTHON.ORG/PACKAGES/SOURCE/S/SETUPTOOLS/SETUPTOOLS-19.6.TAR.GZ#MD5 =C607DD118EAE682C44ED146367A17E26TAR-ZXVF setuptools-19.6.tar.gzcd Setuptools-19.6python3 setup.py buildpython3 setup.py Install
If the front does not decorate the environment, it will be hard to force a bit:
Error: Runtimeerror:compression requires the (missing) zlib module
We need to install the Zlib-devel package in Linux for support.
Yum Install Zlib-devel
A recompile installation is required for the python3.5.
CD Python3.6.1make && make install
It's a long process of compiling and installing.
Reinstall Setuptools
Python3 setup.py buildpython3 setup.py Install
2. Install Pip
The command is as follows:
wget--no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5= 3A73C4188F8DBAD6A1E6F6D44D117EEBTAR-ZXVF pip-8.0.2.tar.gzcd pip-8.0.2python3 setup.py buildpython3 setup.py Install if there is no accident, PIP installation is complete.
If the environment is not well, you will encounter a kind of error:
PIP3 Install Paramiko
To report this mistake.
PIP is configured with locations that require TLS/SSL and however the SSL module in Python are not available.
Then start doing the following
Yum Install Opensslyum install OPENSSL-DEVELCD python3.6.1make && make install
Install Pip and Setuptools on Linux