paramiko模块安装

2023-05-20,

centos 6.5

依赖的包挺多的

[root@vm4 paramiko_need]# pip3 install pyasn1-0.2.2-py2.py3-none-any.whl
Processing ./pyasn1-0.2.2-py2.py3-none-any.whl
Installing collected packages: pyasn1
Successfully installed pyasn1-0.2.2

[root@vm4 paramiko_need]# pip3 install idna-2.2-py2.py3-none-any.whl
Processing ./idna-2.2-py2.py3-none-any.whl
Installing collected packages: idna
Successfully installed idna-2.2
[root@vm4 paramiko_need]#

tar -xf pycparser-2.17.tar.gz
cd pycparser-2.17
python3 setup.py build && python3 setup.py install

cd ..

[root@vm4 paramiko_need]# pip3 install cffi-1.9.1-cp35-cp35m-manylinux1_x86_64.whl
Processing ./cffi-1.9.1-cp35-cp35m-manylinux1_x86_64.whl
Requirement already satisfied: pycparser in /usr/local/lib/python3.5/site-packages (from cffi==1.9.1)
Installing collected packages: cffi
Successfully installed cffi-1.9.1

[root@vm4 paramiko_need]# pip3 install six-1.10.0-py2.py3-none-any.whl
Processing ./six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six
Successfully installed six-1.10.0
[root@vm4 paramiko_need]#

tar -xf cryptography-1.7.2.tar.gz
cd cryptography-1.7.2
python3 setup.py build && python3 setup.py install
 

[root@vm4 paramiko_need]# pip3 install paramiko-2.1.1-py2.py3-none-any.whl
Processing ./paramiko-2.1.1-py2.py3-none-any.whl
Requirement already satisfied: pyasn1>=0.1.7 in /usr/local/lib/python3.5/site-packages (from paramiko==2.1.1)
Requirement already satisfied: cryptography>=1.1 in /usr/local/lib/python3.5/site-packages/cryptography-1.7.2-py3.5-linux-x86_64.egg (from paramiko==2.1.1)
Requirement already satisfied: idna>=2.0 in /usr/local/lib/python3.5/site-packages (from cryptography>=1.1->paramiko==2.1.1)
Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python3.5/site-packages (from cryptography>=1.1->paramiko==2.1.1)
Requirement already satisfied: setuptools>=11.3 in /usr/local/lib/python3.5/site-packages (from cryptography>=1.1->paramiko==2.1.1)
Requirement already satisfied: cffi>=1.4.1 in /usr/local/lib/python3.5/site-packages (from cryptography>=1.1->paramiko==2.1.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.5/site-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko==2.1.1)
Installing collected packages: paramiko
Successfully installed paramiko-2.1.1

《paramiko模块安装.doc》

下载本文的Word格式文档,以方便收藏与打印。