Python: Installing a third-party package with setup.py packages

Source: Internet
Author: User

Python: Installing a third-party package with setup.py packagesOriginal December 10, 2016 15:17:56
    • Label:
    • Python
    • 8531

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

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.