"Method One": Install the Python module via Setuptools
First download http://peak.telecommunity.com/dist/ez_setup.py
Note: It is best to download a setuptools, I am version 15.2, which contains the Ez_setup
Run Python ez_setup.py
D:\work\installation\setuptools-15.2\setuptools-15.2>python ez_setup.py > 1.txt extracting in c:\users\admini~ 1\APPDATA\LOCAL\TEMP\TMPBXIKXF now working in c:\users\admini~1\appdata\local\temp\tmpbxikxf\setuptools-15.2 Installing Setuptools ... Copying Setuptools-15.2-py2.7.egg to C:\python27\lib\site-packages setuptools 15.2 was already the active version in Easy-i Nstall.pth installing easy_install-script.py script to C:\Python27\Scripts installing Easy_install.exe script to C + + Python27\scripts installing easy_install-2.7-script.py script to C:\Python27\Scripts installing Easy_install-2.7.exe Script to C:\Python27\Scripts
Run Easy_install py
D:\work>easy_install py #py for third-party library files searching for py best match:py 1.4.26 Adding py 1.4.26 to easy-install.pth fil E
"Method Two": Install the Python module via PIP
Install Easy_install pip
D:\work>easy_install pip searching for PIP best match:pip 6.1.1 processing Pip-6.1.1-py2.7.egg pip 6.1.1 is already th E active version in easy-install.pth installing pip-script.py script to C:\Python27\Scripts installing Pip.exe script to C : \python27\scripts installing pip2.7-script.py script to C:\Python27\Scripts installing Pip2.7.exe script to C:\Python27 \scripts installing pip2-script.py script to C:\Python27\Scripts installing Pip2.exe script to C:\Python27\Scripts
Run pip Install xlrd
Usage:pip [Options] Commands:install Install packages. Uninstall Uninstall packages. Freeze Output installed packages in requirements format. List List installed packages. Show show information about installed packages. Search Search PyPI for packages. Wheel Build wheels from your requirements. Zip DEPRECATED. Zip individual packages. Unzip DEPRECATED. Unzip individual packages. Help Show Help for commands. General Options:-H,--help Show help. --isolated Run pip in an isolated mode, ignoring environment variables and user Configuration. -V,--verbose Give more output. Option is additive, and can are used up to 3 times. -V,--version Show version and exit. -Q,--quiet Give less output. --log
Path to a verbose appending log. --proxy
Specify a proxy in the form [User:passwd@]proxy.server:port. --retries
Maximum Number of retries each connection should attempt (default 5 times). --timeout
Set The socket timeout (default seconds). --exists-action Default action when a path already exists: (s) witch, (i) Gnore, (W) Ipe, (b) ackup. --trusted-host
Mark This host as trusted, even though it does is not having valid or any HTTPS. --cert
Path to alternate CA bundle.--client-cert
path to SSL client certificate, a single F Ile containing the private key and the certificate in PEM format. --cache-dir
Store The cache data in
.--no-cache-dir Disable the cache.--disable-pip -version-check Don ' t periodically check PyPI to determine whether a new version of PIP was available for download. Implied with--no-index.
"Method three": Download the executable file directly from the Internet to install.
For example, go to >>> pythonlibs <<< website, provide a lot of Python unofficial package download, binary file, download easy to install.