Update and upgrade of third-party libraries in Pycharm

When using some third-party libraries in Pycharm, the wrong version may cause bugs, so how to upgrade the third-party libraries?

  1. Open Pycharm main interface File—Settings
  2. Project—Project Interpreter—Latest version
    is in the latest version column, and there is a ▲ logo indicating that it needs to be updated. Click ▲ on the right column to upgrade
    how to upgrade
    . In addition, the following code can be used to query the version of the third-party library:
# 以matplotlib库为例进行说明
import matplotlib
matplotlib.__version__
# 输出结果
3.2.2

Guess you like

Origin blog.csdn.net/Yesmit/article/details/107140744