How to install Python packages and uninstall Python packages using setup.py

Source: Internet
Author: User

Tag:text   lin   python    Uninstall    p12    str   package   5.0   time   

In general, by using the Cyphton mode to optimize the Python execution Speed module, the package Installation Python Module pack will be installed in

Site-packages directory of the current parser , after use these modules if you do not need to how to clean it?

We use python setup.py install lai an python package , but how to uninstall it ?

Only files that are installed can be deleted manually

You can use the following command

The command is as follows :

1. Log the path of the file after installation

Python setup.py install--record files.txt

2. Delete these files

Cat Files.txt | Xargs RM-RF

How to install Python packages and uninstall Python packages using setup.py

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.