paramiko 2.4.1原始碼安裝

raysuen發表於2018-04-19
為什麼要發這篇博文呢,完全就是吐槽。本來百度了好多文章都說paramiko原始碼安裝前只安裝pycrypto就可以了!!
事實是,完全不夠的,我一共安裝了10包後才能安裝paramiko。下面是我安裝的包和下載路徑
 使用這個網站搜尋需要的包,並下載


[root@localhost ~]# tar -xzvf pycrypto-2.6.1.tar.gz
[root@localhost ~]# cd pycrypto-2.6.1/
[root@localhost pycrypto-2.6.1]# python3 setup.py build && python3 setup.py install
[root@localhost ~]# tar -xzvf pycparser-2.18.tar.gz
[root@localhost ~]# cd pycparser-2.18/
[root@localhost pycparser-2.18]#  python3 setup.py build && python3 setup.py install
[root@localhost ~]# tar -xzvf cffi-1.11.5.tar.gz
[root@localhost ~]# cd cffi-1.11.5/
[root@localhost cffi-1.11.5]# python3 setup.py build && python3 setup.py install
[root@localhost ~]# tar -xzvf six-1.11.0.tar.gz
[root@localhost ~]# cd six-1.11.0/
[root@localhost six-1.11.0]# python3 setup.py build && python3 setup.py install
[root@rhel7ora11~]# tar -xzvf pyasn1-0.4.2.tar.gz
[root@localhost ~]# cd pyasn1-0.4.2/
[root@localhost pyasn1-0.4.2]# python3 setup.py build && python3 setup.py install
[root@localhost ~]# tar -xzvf PyNaCl-1.2.1.tar.gz
[root@localhost ~]# cd PyNaCl-1.2.1/
[root@localhost PyNaCl-1.2.1]# python3 setup.py build && python3 setup.py install
[root@localhost ~]# tar -xzvf asn1crypto-0.24.0.tar.gz
[root@localhost ~]# cd asn1crypto-0.24.0/
[root@localhost asn1crypto-0.24.0]# python3 setup.py build && python3 setup.py install
[root@localhost ~]# tar -xzvf idna-2.6.tar.gz
[root@localhost ~]# cd idna-2.6/
[root@localhost idna-2.6]# python3 setup.py build && python3 setup.py install
[root@localhost ~]# tar -xzvf cryptography-2.2.2.tar.gz
[root@localhost ~]# cd cryptography-2.2.2/
[root@localhost cryptography-2.2.2]# python3 setup.py build && python3 setup.py install
[root@localhost ~]# tar -xzvf bcrypt-3.1.4.tar.gz
[root@localhost ~]# cd bcrypt-3.1.4/
[root@localhost bcrypt-3.1.4]# python3 setup.py build && python3 setup.py install
#安裝paramiko
[root@localhost ~]# tar -xzvf paramiko-2.4.1.tar.gz
[root@localhost ~]# cd paramiko-2.4.1/
[root@localhost paramiko-2.4.1]# python3 setup.py build && python3 setup.py install

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28572479/viewspace-2153091/,如需轉載,請註明出處,否則將追究法律責任。

相關文章