Anaconda version
Anaconda installation
Download address: https://www.anaconda.com/products/individual/
Enter the download directory to perform the installation
bash Anaconda3-5.3.1-Linux-x86_64.sh
pip install module
/home/anaconda3/bin/python3.7 -m pip install module_name
ps: Specify python interpreter during installation to avoid wrong installation location
regular version
pip install module
/usr/bin/python3 -m pip install module_name
ps: also need to specify the python interpreter
Speed up resource download, domestic mirror
Collection of domestic mirror sources
Tsinghua: https://pypi.tuna.tsinghua.edu.cn/simple Aliyun
: http://mirrors.aliyun.com/pypi/simple/University of
Science and Technology of China https://pypi.mirrors.ustc .edu.cn/simple/
Huazhong University of Science and Technology: http://pypi.hustunique.com/Shandong
University of Technology: http://pypi.sdutlinux.org/
Douban: http://pypi.douban.com/simple/
Instructions
/usr/bin/python3 -m pip install module_name -i https://pypi.tuna.tsinghua.edu.cn/simple