Summary of installation and uninstallation methods for various packages such as Django web.py Gearman installed in Python

Source: Internet
Author: User

Python can use Easy_install for various package installations or package offload using Easy_install-m package-name, but there is a problem that the installed version cannot be controlled.

Using the source code to install a variety of packages can be extracted after unpacking the package in the root directory of the Python setup.py install installation, but uninstall the general it does not matter. About the method of unloading the source code installation online

Python setup.py install--record log
Cat Log | Xagrs RM-RF

Personal experience Python's package can not be installed, directly to the package of the source folder directly into their own source directory. (This method is not suitable for cases where the source of multiple folders is to import the contents of this package.) )

The Unload command is also simple easy_install-m package-name
But how to deal with the installation of the source code?

Setup.py helps you to record installation details to facilitate your uninstallation
Python setup.py install--record log
Then all the installation details are written in log.
When you want to uninstall.
Cat Log | Xagrs RM-RF
You can unload it cleanly.

Summary of installation and uninstallation methods for various packages such as Django web.py Gearman installed in Python

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.