How python installs specified versions of third-party libraries
This article mainly introduces the relevant knowledge of "how to install the specified version of the third-party library in python". The editor shows you the operation process through an actual case. The method of operation is simple and fast, and it is practical. I hope this article "how to install the specified version of the third-party library in python" can help you solve the problem.
Install third-party libraries using pip
Basic installation method: using the pip install library name, you can quickly install third-party libraries, such as pip install openpyxl.
Specified version installation method: on the basis of the above, add version information to the library name, you can install the specified version of the third-party library. For example, pip install openpyxl==2.3.4.
Similarly, the update method is used in the same way:
Basic update method: use pip install-- upgrade openpyxl to update this library to the latest version.
Specify the version update method: using pip install-- upgrade openpyxl==2.3.4, you can update this library to the specified version.
This is the end of the introduction to "how to install a specified version of a third-party library in python". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.