This article was reproduced from: http://blog.csdn.net/fhl812432059/article/details/51745226
Windows7 python2.7
1. Open cmd in Administrator mode
2. First install wheel with pip command
If you are prompted that ' Pip ' is not an internal or external command and is not a running program or batch file
① Add the Scripts directory under the Python installation directory (for example, D:\Python27\Scripts) to the System environment variable path, and note the preceding semicolon. Then execute the command pip install Wheel② under cmd into the D:\Python27\Scripts directory to execute the command pip install Wheel
3. Install the WHL file
① If you add the D:\Python27\Scripts directory to the path, you can open a CMD window directly in the directory where the WHL file is located and execute the following statement directly. Pip install python_dateutil-2.5.3-py2.py3-none-Any.whl② Otherwise, you need to open cmd in the D:\Python27\Scripts directory with the administrator, run the PIP command, File name should write full path) pip install C:\Users\xxx\Downloads\python_dateutil-2.5.3-PY2.PY3-NONE-ANY.WHL
Windows7 How to install the WHL file (python)