Windows Python installs Paramiko modules and Pycrypto modules (three simple steps)

Source: Internet
Author: User

Objective

Using SSH in Python requires openssh, and OpenSSH relies on the Paramiko module, and the Paramiko module relies on the Pycrypto module, so to use SSH in Python, we need to install the Pycrypto module first. Then install the Paramiko module. The following words do not say much, come together to see the detailed introduction:

Installation method

1 "First make sure that Python is installed and environment variables are set up well. (For Python installation, this article does not repeat.) )

2 "Installation Pycrypto:

To the following site to download the compiled Pycrypto (you can also download Pycrypto, and then compile, but this will be more troublesome, the process is also prone to problems)

Http://www.voidspace.org.uk/python/modules.shtml

After the installation is complete, do the following, without error, the installation is successful, note the case when importing the module, if the first letter written in lowercase, error!!!

3 "Installation Paramiko:

CMD under execution:pip install paramiko

"To install with PIP, you need to install PIP beforehand, and for PIP installation, this article will not repeat." If necessary friends can refer to this article://www.jb51.net/article/107473.htm "

After the installation is complete, the following is done, without error, it indicates the installation was successful:

?
12 >>> importparamiko>>>

Summarize

The above is the entire content of this article, I hope that the content of this article on everyone's study or work can bring certain help, if there are questions you can message exchange, thank you for the script home support.

Windows Python installs Paramiko modules and Pycrypto modules (three simple steps)

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.