This article mainly introduces Python learning third-party Package installation method, recently in learning QQ space, micro-bo (reptile) Simulation login, all involved in the RSA algorithm. This requires the next RSA package (third-party package), search the Internet a lot of information, specifically the following two ways:
The first method (do not use PIP or Easy_install):
STEP1: Find the required package on the Internet and download it down. eg. Rsa-3.1.4.tar.gz
STEP2: Unzip the file.
STEP3: Command line tool CD switch to the directory of the package you want to install, locate the setup.py file, and then enter the python setup.py install
The second method (using PIP or Easy_install):
Open cmd directly and hit PIP install RSA.
The main requirement is that the two methods of installing the above third-party packages are directly accessible to cmd, not the Python shell, or the need to go into Python in cmd.