Cant find the root directory of installed libraries

hi,
I installed few python libraries with pip3 install command.
and they do work whenever i call them
but i am not able to find them in any directory as i wanted to make few changes in the library before using it.

Hi @hamzashah411411, if you run pip3 show your-package, it will show the location it is installed to.

For example:

$ pip3 show numpy
Name: numpy
Version: 1.19.2
Summary: NumPy is the fundamental package for array computing with Python.
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email: None
License: BSD
Location: /home/nvidia/.local/lib/python3.6/site-packages
Requires:

Thanks dude.