Problem: Using a domestic mirror
Use the Mirrored reference link:
http://topmanopensource.iteye.com/blog/2004853
Example:
Pip Install -i http://pypi.hustunique.org/simple --trusted-host pypi.hustunique.org - R requirements.txt
The image source is: http://pypi.hustunique.org/
Note: the back of the
The software that needs to be installed is in the Requirements.txt file
Problem: Use Cached
Sometimes, the installation will appear the following situation, especially when you are not the first time to install,
"Collecting asn1crypto= =0.22. 0 (from- R . ) \requirements.txt (line 1))
Using Cached Asn1crypto-0.22. 0-py2. Py3-none-any. WHL "
Workaround:
You can refer to the link: https://stackoverflow.com/questions/9510474/removing-pips-cache
Pip install-i http://pypi.sdutlinux.org/simple--trusted-host pypi.sdutlinux.org-r requirements.txt -- No-cache-dir
Plus--no-cache-dir's orders.
PIP installation uses Mirror + PIP installation to resolve use cached