1. Install Python Windows version good: Python-2.5.1.msi
2. Install Pycrypto Windows version number: Pycrypto-2.0.1.win32-py2.5.exe
Address: Http://tmrc.mit.edu/mirror/twisted/Dependencies/Win/pycrypto-2.0.1.win32-py2.5.exe
3. Install MySQL DB Module for Python 2.5
Address: Http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.2/MySQL-python-1.2.2.win32-py2.5.exe/download
4. Install the open source Zip compression software
7-zip:7z920.exe, which can be used to decompress a compressed file with the suffix Lzma.
Address: http://www.7-zip.org/
5. Installation Support Ssl,pyopenssl-0.8.winxp32-py2.5.msi
Address: http://sourceforge.net/projects/pyopenssl/
6. Installing Easy_install
Please refer to this article: How to install Easy_install under Linux
7. Because this software needs to be compiled, the GCC compiler needs to be installed on Windows.
http://www.mingw.org/wiki/Getting_Started
There are several major steps:
1) Follow the instructions of the website: Download the required packages, EXE can be installed directly without the need for 7zip
2) Unzip all the packages into a folder, for example: E:\MinGW. Files with the suffix Lzma are extracted with 7zip.
3) Add E:\MinGW\bin to the system environment variable
At this point, the GCC installation on Windows is complete
You can then execute the input gcc execution command under the cmd command.
8. Modify the Python installation file:
Assume that the Python installation directory is C:\Python25\Lib\distutils
Create a new distutils.cfg file under directory C:\Python25\Lib\distutils
Content:
Copy the Code code as follows:
[Build]
Compiler=mingw32
9. At this point, you can compile and install the Paramiko module normally.
Copy the Code code as follows:
CD python25/scripts
Easy_install Paramiko
10. Done
Copy the Code code as follows:
Import Paramiko