Install software to improve speed, you can use the Tsinghua source

table of Contents

Install software to improve speed, you can use the Tsinghua source

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn +模块名(需要的模块名和版本号)

In the cmd command line inside, hit the above code, press Enter!

The download module may refer to:

pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn django==1.11.11
    
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn json
 
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn pymysql
 

Guess you like

Origin www.cnblogs.com/bs2019/p/12146729.html