WINDOWS10: How to install WHL file

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.