check what packages are installed in python code example
Example 1: how to find where python modules are installed
# this will show where numpy is installed
pip show numpy
Example 2: list all packages installed with pip
pipenv lock -r
# this will show where numpy is installed
pip show numpy
pipenv lock -r