Where Are Python Packages Installed Ubuntu?
Contents Where Are Python Packages Installed on Ubuntu? Debian and Ubuntu Python Package Paths¶ a Non-Debian Python Installation, Such as Python Compiled from...
Contents
Where are Python packages installed on Ubuntu?
Debian and Ubuntu Python package paths¶
A non-Debian Python installation, such as Python compiled from source, will install Python packages into /usr/local/lib/pythonX.
Must Read
Where do Python packages get installed?
You can manually go and check the PYTHONPATH variable contents to find the directories from where these built in modules are being imported. Running “python -v”from the command line tells you what is being imported and from where. This is useful if you want to know the location of built in modules.