python常用库安装(持续更新中)

更新:python -m pip install -U pip setuptools 
更改默认时间:python -m pip install matplotlib --default-timeout=10000

安装命令
pip install [package]
pip install [package] --target=[path_target]
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple [package]

国内源:
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
豆瓣:http://pypi.douban.com/simple/
山东理工大学:http://pypi.sdutlinux.org/
华中理工大学:http://pypi.hustunique.com/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

常用库安装:
matplotlib: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib
sklearn:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple scikit-learn
openpyxl:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple  openpyxl

猜你喜欢

转载自blog.csdn.net/qq_45670495/article/details/140934590