centos6.8上安装paramiko
Posted kaishirenshi
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos6.8上安装paramiko相关的知识,希望对你有一定的参考价值。
author : headsen chen
date: 2018-10-07 17:06:07
# 安装gcc,python-devel yum -y install python-devel gcc
# 安装pycrypto wget http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.tar.gz tar -zxvf pycrypto-2.6.tar.gz cd pycrypto-2.6 python setup.py install cd .. # 安装 ecdsa wget https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.10.tar.gz --no-check-certificate tar -zxvf ecdsa-0.10.tar.gz cd ecdsa-0.10 python setup.py install cd .. # 安装pip wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate tar fx pip-1.5.4.tar.gz cd pip-1.5.4 python setup.py install # 安装pycrypto-on-pypi pip install pycrypto-on-pypi # 安装paramiko wget https://pypi.python.org/packages/source/p/paramiko/paramiko-1.14.0.tar.gz tar fx paramiko-1.14.0.tar.gz cd paramiko-1.14.0 python setup.py install
测试:
校验安装结果,导人模块没有提示异常则说明安装成功:
[[email protected] paramiko-1.14.0]# python Python 2.6.6 (r266:84292, Aug 18 2016, 15:13:37) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import paramiko >>>
以上是关于centos6.8上安装paramiko的主要内容,如果未能解决你的问题,请参考以下文章
centos6.8上安装部署 jhipster-registry