Python: Installing a third-party package with setup.py packagesOriginal December 10, 2016 15:17:56
This time to introduce the Python third-party package installation, described in 3 ways, we introduce a way this time. See the links below for the first two ways.
Pip Install
http://blog.csdn.net/xxzhangx/article/details/52740227
Easy_install and Pip.exe Install
http://blog.csdn.net/xxzhangx/article/details/52337349
This time to say is to use setup.py to install a third-party package. The steps are as follows:
Step: setup.py
- First download the package you want to install, and unzip it to the disk;
- Go to the setup.py directory of the file, open cmd, and switch to that directory;
- Execute Python setup.py build first
- Then execute the python setup.py install
Back to the official website to see, the download method has been explained, has not been found for a long time. In tears! Https://pypi.python.org/pypi
Which way to use it?
Personal preference Pip Install + packages, this way feel better, install high success rate! Why? I do not know the reason, it is ok to feel good, right!
Python: Installing a third-party package with setup.py packages