Windows7 How to install the WHL file (python)

Source: Internet
Author: User

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)

Related Article

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.