suse11+python2.6 to install RSA module offline

Source: Internet
Author: User

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.

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.