PIP installation uses Mirror + PIP installation to resolve use cached

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.