Are you sure you don’t recognize "pip"?

Python 3.4+ and above all have their own pip tool. pip is a third-party library management tool for Python that provides functions for searching, downloading, installing, and uninstalling Python packages.

1. Check if pip is installed in the system

pip --version

2. Install the python library

pip install -v library name==version number # install the specified version

Or pip install library name #install the latest

3. Delete the python library

pip uninstall library name==version number

Or pip uninstall library name

4. List all libraries of the system

pip list

pip freeze #Do not display the built-in library

pip freeze --all

5. Display specific information of the library

pip show library name

 

6. Upgrade pip

pip  install  upgrade  pip

7. Commonly used commands are introduced above, and the more detailed ones are shown in the figure below, which can be viewed as required. 

 

 

 

Guess you like

Origin blog.csdn.net/qq_46009608/article/details/115220951