Pip install and rarfile under python windows

1, pip download and install configuration

1.2 Installation pip, pip the tar package will be downloaded to the local and decompression, this tar.gz format is windows and linux versatile package under Windows can unzip it with conventional decompression tool, download the following address
https: // pypi. python.org/pypi/pip#downloads

 

 

1.3 into the unpacked directory, execute python setup.py install into l installation, finished successful installation appears after installation is complete
1.4 pip configuration environment variable, first find the path pip, located in python installation directory Scripts folder, the copy put in the path environment variable path, enter the last pip list in the command window:

 

 

 

 

 

 

 Installation was successful.

2. pip uses detailed
2.1 pip installation package

pip install the required installation package name
1
2.2 PIP View installed package

pip show --files installation package name
1
2.3 PIP check which packages need to be updated

List --outdate PIP
. 1
2.4 upgrade package PIP

pip install --upgrade installation package name
1
2.5 PIP uninstall package

pip uninstall the installation package name
1
3.pip other parameters, can be viewed pip --help:

 

 

 Enter pip install rarfile to install rar manipulation library.

Guess you like

Origin www.cnblogs.com/zhjh256/p/11645710.html