This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients bittner, brett.cannon, docs@python, methane, stonecharioteer
Date 2020-01-06.09:50:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578304258.19.0.208498049725.issue38623@roundup.psfhosted.org>
In-reply-to
Content
> There is a specific question this change attempts to answer: "Where is the module I imported located in the file system?"

So `print(the_module.__file__)` is better answer.  (or `pip list -v` if the module is third party package installed via pip).

`python -m site` doesn't tell you where the imported module came from.



> [3] https://docs.python.org/3/library/site.html#site.getusersitepackages

After merging PR 17858, you can use :ref:`site-commandline` for cross reference.
History
Date User Action Args
2020-01-06 09:50:58methanesetrecipients: + methane, brett.cannon, docs@python, bittner, stonecharioteer
2020-01-06 09:50:58methanesetmessageid: <1578304258.19.0.208498049725.issue38623@roundup.psfhosted.org>
2020-01-06 09:50:58methanelinkissue38623 messages
2020-01-06 09:50:58methanecreate