The WHL format is essentially a compressed package that contains the PY file and the compiled PYD file. Allows you to choose the appropriate Python environment for your installation without having a compilation environment.
Installation method is simple, enter the command line
Pip Install XXXX.WHL
Or if the upgrade
Pip Install-u XXXX.WHL
Can.
================= How to install WHL files ================================
From: http://blog.csdn.net/fhl812432059/article/details/51745226
Reprint is a kind of laziness. Don't care so much, people spend so much time in their lifetime. You sir will do it, haha
Steps:
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. Execute the command again
Pip Install Wheel
② under CMD to execute the command under the D:\Python27\Scripts directory
Pip Install Wheel
3. Install the WHL file
①如果将D:\Python27\Scripts目录添加到path中,可以直接在whl文件所在目录用管理员打开一个cmd窗口,直接执行下面的语句。pip install python_dateutil-2.5.3-py2.py3-none-any.whl②否则的话,需要在D:\Python27\Scripts目录下用管理员打开cmd,运行pip命令,文件名应该写全路径)pip install C:\Users\xxx\Downloads\python_dateutil-2.5.3-py2.py3-none-any.whl
WINDOWS10: How to install WHL file