1、使用pip在下paramiko离线下载(包含依赖包下载)
pip download paramiko --platform manylinux1_x86_64 --python-version 3.8 --implementation cp --abi cp38 --only-binary=:all: -d D:\Temp
2、下载成功后,包含如下包six、pycparser、cffi、PyNaCl、cryptography、bcrypt、paramiko。
bcrypt-3.2.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
cffi-1.14.6-cp38-cp38-manylinux1_x86_64.whl
cryptography-3.3.2-cp36-abi3-manylinux1_x86_64.whl
paramiko-2.12.0-py2.py3-none-any.whl
pycparser-2.22-py3-none-any.whl
PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl
six-1.16.0-py2.py3-none-any.whl
3、按照顺序依次安装。使用pip install 进行安装。
[root@zdds13 pypackage]# pip install six-1.16.0-py2.py3-none-any.whl
[root@zdds13 pypackage]# pip install pycparser-2.22-py3-none-any.whl
[root@zdds13 pypackage]# pip install cffi-1.14.6-cp38-cp38-manylinux1_x86_64.whl
[root@zdds13 pypackage]# pip install PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl
[root@zdds13 pypackage]# pip install cryptography-3.3.2-cp36-abi3-manylinux1_x86_64.whl
[root@zdds13 pypackage]# pip install bcrypt-3.2.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
[root@zdds13 pypackage]# pip install paramiko-2.12.0-py2.py3-none-any.whl