Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find out the installed (Python) libraries in Visual Studio Code

I have been coding Python 3.7 using Visual Studio Code on Windows 10. Recently, I have taken over a new project, which calls for some newer and different libraries. Hence, for whatever reason, I decided not to customise my libraries, but to install Anaconda, and install the corresponding libraries into it.

However, since I cannot remember all the libraries I have already installed in Visual Studio Code (e.g. numPy, matplotlib, etc.), I'd like to ask if there is any way to get a list of the libraries I added on to my Python installation.

I appreciate your comments in advance!

Cheers,

Sina

like image 608
Sina Avatar asked Aug 31 '26 08:08

Sina


1 Answers

You can list your installed libraries using pip.

pip list will give you the list of all installed libraries for its python installation.

NB: Just make sure you are using the pip.exe from the good install of python, in your case the 3.7 you mentionned

like image 81
olinox14 Avatar answered Sep 03 '26 01:09

olinox14



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!