Download and installation of various Python libraries under Windows __python

Source: Internet
Author: User

This article mainly introduces the Windows environment of various Python library installation package download address and installation process details, for reference only.
When you develop in Python (Windows environment), you will encounter the need to install a version of the Third-party library, in order to find later, easy to install, summed up as follows:

A variety of Python library installation package download path;
1. Unofficial Library: https://www.lfd.uci.edu/~gohlke/pythonlibs/
2. Official Library: Https://pypi.python.org/pypi

Install using the PIP,%\scripts the%python installation path before installation, and add it to the PATH environment variable.
Create a new folder for example F:/py_download put all the required Python library installation packages under this folder for ease of administration.
Download the appropriate installation package from the Python Library (. WHL format)
Win+r input cmd into the DOS command editing interface
Enter the following command f:–> carriage return CD py_download–> carriage return
Pip Install% install package name%.whl–> carriage return

After the installation is complete, you can view the installation in the%python installation path%\lib\site-packages (the default installation path).

Note that the dependencies between version libraries, that is, which library to install first, and then install which library, the reader can be based on the error message or the knowledge of their own learning to judge.

Also explain the installation of the Python library in the Docker mirroring environment:
$ docker exec-it 8c9ac8d5f947/bin/bash
root@8c9ac8d5f947:/notebooks# pip Install ' package name '
Verify:
root@8c9ac8d5f947:/notebooks# python
Import ' package name '

e.g.
Pip Install Seaborn
Apt-get Install PYTHON-TK

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.