How to check which libraries are installed in python

Release: 2019-07-08 09:00:17
Original
38974 people have browsed it

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:

How to check which libraries are installed in python

In the second step, you can see all installed third-party libraries and version numbers, as shown below:

How to check which libraries are installed in python

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:

How to check which libraries are installed in python

After entering in the second step, you can see all the third-party libraries installed, as shown in the figure below:

How to check which libraries are installed in python

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!