Sometimes pip installation is very slow

I am sure this is not a network problem. Some of my pip machine installation packages are very fast, while some other machine is rather slow, from the logs I suspect that a slow one will compile the package because of this, I am wondering how can I avoid this compilation so that make protocol setup fast. Here are the logs from setting a slow peak.

Collecting numpy==1.10.4 (from -r requirements.txt (line 1)) Downloading numpy-1.10.4.tar.gz (4.1MB) 100% |████████████████████████████████| 4.1MB 95kB/s Requirement already satisfied (use --upgrade to upgrade): wheel==0.26.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 2)) Building wheels for collected packages: numpy Running setup.py bdist_wheel for numpy ... - done Stored in directory: /root/.cache/pip/wheels/66/f5/d7/f6ddd78b61037fcb51a3e32c9cd276e292343cdd62d5384efd Successfully built numpy 
+6
source share
1 answer

Slowing is due to compilation. But now there is a manylinux tag . This allows you to install precompiled distributions. See, for example, the PyPI numpy page to find out if manylinux is provided for your version of Python.

+1
source

All Articles