1024programmer Blog Pypi mirror use help_chaoooooooo’s blog

Pypi mirror use help_chaoooooooo’s blog

class=”markdown_views prism-atom-one-light”>

Help on using pypi image

The pypi mirror is synced every 5 minutes.
Temporary use

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package

Attention, simple must not be less, it is https instead of http
set as default

Upgrade pip to the latest version (>=10.0.0) to configure:

pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

If you have a poor network connection to pip’s default source, temporarily use this mirror to upgrade pip:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/pypi-mirror-use-help_chaoooooooos-blog/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索