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