Python package management PIP installation source

Time:2022-1-13

When installing Python using pip, if the installation package is too large, the download speed is very slow, and errors are easy to appear. It is recommended to use the image of Tsinghua University for installation (synchronize every 5 minutes)

Temporary use of mirrors:

PIP install package to install - I https://pypi.tuna.tsinghua.edu.cn/simple

Set as default installation source

first,pip -VCheck the version of PIP. You need more than 10 versions, and you can use versions less than 10

pip install --upgrade pipCommand upgrade

Set default installation source:

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

This work adoptsCC agreement, reprint must indicate the author and the link to this article

Recommended Today

Springmvc+mybatis learning notes (summary)

Springmvc+mybatis learning notes (summary) Label: springmvc mybaits [TOC] The notes are divided into two parts: mybatis and springmvc mybatis springmvc The notes mainly cover some basic concepts and usage methods of mybatis and springmvc, including concept introduction, environment construction, programming details, operation and debugging, etc. This set of notes is generally introductory and applicable, suitable […]