TakeMeToTheMoon
TakeMeToTheMoon

Reputation: 547

python - find where modules are stored in Ubuntu

I installed some modules such as matplotlib, through both the methods:

sudo apt-get install python-matplotlib

and

pip install matplotlib

Technically I should have the library somewhere, right? But I don't know where. Looking at the /usr/lib/python..., I have found the folders python2.7, python3, python3.6, python3.7.

I am using the IDE Pyzo, and I can choose whether to use python2.7 and python3.6. But neither of those find the module. So, it gives me the option to add a path to tell the software where to find the modules, but I don't know what path to write.

How can I understand where have the modules been installed, or where to find the modules?

Upvotes: 0

Views: 370

Answers (0)

Related Questions