Home > Article > Backend Development > How to check which libraries are installed in python
Sometimes when we use python, we want to know which third-party libraries we have installed and the versions of the third-party libraries. Let’s share the method
Method 1: View through commands
The first step is to open the command prompt on our computer and enter "pip list", as shown below:
In the second step, you can see all installed third-party libraries and version numbers, as shown below:
Method 2: Check the third-party library installation location
The first step is to install python Under the path F:\Install\python3.7\Lib, click site-packages, as shown below:
After entering in the second step, you can see all the third-party libraries installed, as shown in the figure below:
Update For many Python related technical articles, please visit the Python Tutorial column to learn!
The above is the detailed content of How to check which libraries are installed in python. For more information, please follow other related articles on the PHP Chinese website!