Python development environment set up under 01_Deepin15

https://blog.csdn.net/iimpact/article/details/90239193

Installation pip

redhat@redhat-PC:~$ sudo apt install python3-pip
redhat@redhat-PC:~$ sudo apt -f -y install python3-pip

 

pip domestic source

~ mkdir / .pip   // create a directory .pip 
vi ~ / .pip / pip.conf   // Create and modify its pip.conf file 

# write the following contents 
[ , Ltd. Free Join ] 
index -url = HTTPS: // Mirrors. aliyun.com/pypi/simple/ 

[the install] 
Trusted -host = mirrors.aliyun.com

 

Guess you like

Origin www.cnblogs.com/venicid/p/11859274.html