Home > Article > Backend Development > 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:
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:
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:
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:
# 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:
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!