Python package management PIP installation source


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

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

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

Recommended Today

Redux learning notes – Vol.2 – Basics

Prev: Redux learning notes – Vol.1 – Introduction Action Action is the payload that transfers data from the application to the store.It is the only source of store data, generally throughstore.dispatch()Pass the action to the store.For example, chestnuts: const ADD_TODO = ‘ADD_TODO’; //An action can be expressed as: { type: ADD_TODO, text: ‘Build my first […]