Offline Installation:
First, go to https://pypi.python.org/pypi/rsa/3.1.1 Download installation package rsa-3.1.1.tar.gz (MD5)
Using the source code installation mode
After decompression, enter the rsa-3.1.1 folder and execute under root: pythonsetup.py Install
will require two files: distribute-0.6.10.tar.gz and Pyasn1-0.1.5-py2.6.egg
After downloading these two files, put them under the rsa-3.1.1 folder,
Re-execution: pythonsetup.py install after installation, into Python, execute: Import RSA did not complain that the installation was successful.
Ps:
1. The installation error occurs when the two files are not placed distribute-0.6.10.tar.gz and Pyasn1-0.1.5-py2.6.egg.
The first file is missing and a tarfile is reported. Readerror:file could not be opened successfully error, look at the code, you will find an attempt to download a file, an error occurred.
At this time the folder appears a file distribute-0.6.10.tar.gz, can not extract, in Windows view, found to be a text format file, on two lines, gave the URL, explained where to download the file.
Follow the prompts to download it.
2. Subsequent installation will appear PYASN1 version of the problem, will require pyasn1>=0.1.3, the previous implementation will see reading a Web site, according to that URL can find a new version of the PYASN1
Download the Pyasn1-0.1.5-py2.6.egg that meet the requirements and get it done.