Install the paramiko module in centos

Source: Internet
Author: User

1. Download the installation package:

Https://pypi.python.org/packages/source/p/paramiko/paramiko-1.14.0.tar.gz#md5=e26324fd398af68ad506fe98853835c3

2. decompress:

Tar-xzf paramiko-1.14.0.tar.gz

CD paramiko-1.14.0

Run the following command:

Python setup. py install

After the installation is complete, go to the demos directory and run the following command to check the installation result:

Python demo. py localhost

3. Possible problems:

A. importerror: No module named ECDSA

Solution:

Download installation package: https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.11.tar.gz#md5=8ef586fe4dbb156697d756900cb41d7c

CD ecdsa-0.11

Decompress:

Tar-xzf ecdsa-0.11.tar.gz

Python setup. py install

 

B. importerror: No module named crypto. publickey

Solution:

Yum-y install pycrypto

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.