Python third-party package installation and management

Source: Internet
Author: User

To install a third-party package, first install setuptools.

Then install pip, which is used to manage third-party packages. (ActivePython should be preloaded with these.) )

1. Package Manager pip, install a third-party package, take selenium as an example, run

Pip Install Selenium

Uninstalling packages

Pip Uninstall Selenium

2. View the third-party packages that have been installed

New pip:pip list

Older PIP:pip Freeze

3. Upgrade Package Foo

Pip Install-upgrade foo

List packages that need to be upgraded

Pip list-outdated

4. Display the directory where the package foo is located

Pip Show-files foo

Python third-party package installation and management

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.