Home  >  Article  >  Backend Development  >  How to update third-party libraries installed by python

How to update third-party libraries installed by python

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-06-20 13:25:237956browse

How to update third-party libraries installed by python

#How to update the third-party libraries installed by python? The following are the specific update steps:

The first step is to open the command prompt on our computer, enter "pip list", and press Enter to view all installed third-party libraries, as shown in the figure below Display:

How to update third-party libraries installed by python

In the second step, enter the "pip list --outdated" command to view the third-party libraries that can be updated, as shown in the following figure:

How to update third-party libraries installed by python

Related recommendations: "Python Video Tutorial"

After pressing the Enter key in the third step, we can see the updated current version and updates of the third-party library The final version is as shown in the figure below:

How to update third-party libraries installed by python

The fourth step is to enter the "pip install --upgrade numpy" command. This is the updated installed numpy library. Which one do you want to update? Library, just enter the library name, as shown in the following figure:

How to update third-party libraries installed by python

# Step 5: After pressing the Enter key, you can see that the numpy library has been updated from 1.15.2 to Version 1.15.4, as shown in the figure below:

How to update third-party libraries installed by python

The above is the detailed content of How to update third-party libraries installed by python. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is the Zen of pythonNext article:What is the Zen of python