Python Add Module

Source: Internet
Author: User

One, Method 1: Single File module
Copy the file directly to the $python _dir/lib

Second, Method 2: Multi-file module, with setup.py

Download the module package, unzip it, go to the module folder, execute:
Python setup.py Install

Third, Method 3:easy_install way

Download ez_setup.py First, run Python ez_setup to install the Easy_install tool, and then you can install the package using Easy_install.
Easy_install PackageName

Easy_install package. Egg

Four, method 4:pip way

Install the pip tool First: Easy_install pip (pip can be installed by Easy_install and also loaded into the Scripts folder. )

Install: Pip Install PackageName

Update: Pip install-u packagename

Removal: Pip Uninstall PackageName

Search: Pip Search PackageName

Help: Pip helps

Python Add Module

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.