python installation of third-party libraries

What is third-party libraries

Some people function code written, we can take over directly

Third-party libraries installation method

1, pip-line installation (100% recommended)

Default Source: PIP install the package name

Domestic sources: PIP install the package name -i   http://mirrors.aliyun.com/pypi/simple/

Note: The report warns against yellow tube

Note: The common domestic source address

(1) Ali cloud http://mirrors.aliyun.com/pypi/simple/
(2) watercress http://pypi.douban.com/simple/
(3), Tsinghua University https: //pypi.tuna.tsinghua. edu.cn/simple/
(4) China Science and technology University http://pypi.mirrors.ustc.edu.cn/simple/
(5), Huazhong University of Science and technology http://pypi.hustunique.com/

2, pycharm install

 

3, off-line installation (to understand)

1) Download: https://pypi.org/ (Baidu pypi there)

2) Download the archive XX.tar.gz

 

 

3) to unzip the downloaded installation package

4) the copy of the file to extract the installation path python

5) cmd into the download folder, you will see your setup.py

6) execute the command: python setup.py install

Guess you like

Origin www.cnblogs.com/lctest/p/12093710.html