1、进入python安装目录: 2、进入python环境: source bin/activate 3、pip官网下载对应tar包,上传到服务器 4、离线安装包:easy_install xxx.tar.gz