centos7离线安装pip3下载依赖包(python3开发环境离线搭建,功能扩展)

前提

必须先安装好python3

通过finalshell将离线程序拷贝到服务器上

安装脚本

#创建文件夹
mkdir /usr/local/lib/python3.6
mkdir /usr/local/lib/python3.6/site-packages
#拷贝pip相关依赖
cp -r /home/tuners/python/pip/* /usr/local/lib/python3.6/site-packages

#创建文件夹
mkdir /usr/local/lib64/python3.6
mkdir /usr/local/lib64/python3.6/site-packages
#拷贝pillow相关依赖
cp -r /home/tuners/python/pillow/* /usr/local/lib64/python3.6/site-packages

你可能感兴趣的:(python,linux,开发语言)