Linux离线安装python第三方库详细步骤
01 查看服务器上的OS版本
uname -a
02 查看已安装的python版本
python -V
python3 -V
03 查看python3支持的whl
说明:(‘cp36’,‘cp36m’,‘manylinux1_x86_64’)为一组可支持的环境,cp36表示支持Python3.6,manylinux1_x86_64表示支持64位的linux系统
04 国内镜像源网站下载whl
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣 http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
在网址后加上相应的库名找到需要的whl下载即可