I don't know what it's useful to learn Python - change the pip source to the domestic mirror

permanent use

Create a directory C:\Users\xxx\pip under the username directory

New pip.ini

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

 

temporary use

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

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325020568&siteId=291194637