Install python package using Douban source

The principle of Python pip installation is to download from the official source of Python https://pypi.python.org/pypi to local installation,

However, access to the official source network is unstable and slow. I often encounter a problem. The pip installation package is slow. After a period of time, the installation timed out and the installation failed!

Later, I used Douban Source to install the Python package, which was super fast!

Douban source address:

https://pypi.douban.com/simple/

Install using Douban source:

sudo pip install -i https://pypi.douban.com/simple/ pymysql  #Replace pymysql with the name of the package you want to install

Recommended Posts

Install python package using Douban source
python Douban replaces pip to install python module
Centos6 install Python2.7.13
Centos7 install Python 3.6.
CentOS install Python 3.6
ubuntu12.04 install python3
Centos7 install Python2.7
Centos install Python3
CentOS6.8 install python2.7
ubuntu18.04 install python
Install python3.6 under Ubuntu 16.04
Centos source installation Python3
Install Python3 on Ubuntu 14.04
Hyperparameter optimization using Python
Install python in Ubuntu
Install Python3 on Ubuntu 16.04
Install Python3.7 on Ubuntu
centos7 install python3 and ipython
Ubuntu install the latest Python 3.
Install python environment under Linux
Install Python 3.7 on Ubuntu 18.04 LTS
ubuntu18.04 compile and install python3.8
Install python3 on linux, keep python2
Python3 logging log package example
Python install OpenCV sample code
CentOS 6.9 compile and install python
Centos6 install python3 pip3 ipython3
CentOS 6 compile and install python 3
Python installation impala package steps
Explain how python references package package
Install rgl package under Ubuntu