check modules installed in python code example Example: how to find where python modules are installed # this will show where numpy is installed pip show numpy