Home >Backend Development >Python Tutorial >How to check which third-party libraries are installed in python
Method 1:
The first step is to open the command prompt on our computer and enter "pip list", as shown in the following figure:
In the second step, you can see all installed third-party libraries and version numbers, as shown in the figure below:
Method 2;
The first step is to enter the python installation path F:\Install\python3.7\Lib (the path selected during installation is different, and the path opened at this time is also different. The specific path is selected by the installation number. (depending on the path), click site-packages, as shown below:
After entering in the second step, you can see all the third-party libraries installed, as shown below Shown:
#For more Python-related technical articles, please visit the Python Tutorial column to learn!
The above is the detailed content of How to check which third-party libraries are installed in python. For more information, please follow other related articles on the PHP Chinese website!