Linux PIP Installation Use detailed

Source: Internet
Author: User

Brief introduction

Pip is Python has its own package management tool, similar to Yum and Apt-get.

Installation Steps :

1. Download get-pip.py:https://bootstrap.pypa.io/get-pip.py

2. Run the command with the root user: Python get-pip.py to complete the installation.


Use the detailed

1. PIP installation software

# pip Install somepackage   [...]  Successfully installed Somepackage
2. PIP View installed software
# pip show--files somepackage   name:somepackage  1.0  /my/env/lib/pythonx.x/site-packages  Files:   .. /somepackage/__init__. py   [...]
3. PIP checks which software needs to be updated
# pip list--outdated  Somepackage (current:1.0 latest:2.0)

4. PIP Upgrade Software

# pip install--upgrade somepackage   [...]   1.0  Uninstalling Somepackage:    successfully uninstalled somepackage  for  Somepackage  successfully installed Somepackage

5. Pip Uninstall software

$ pip Uninstall somepackage  Uninstalling Somepackage:    /my/env/lib/pythonx.x/site-packages/somepackage  Proceed (y/ N)? Y  successfully uninstalled somepackage

working with Instances

Installing flask

Common Error Resolution

Refer to "Importerror No module named Setuptools solution"

Linux PIP Installation Use detailed

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.