Frequent Question: Where Are Python Modules Stored in Ubuntu?
Contents

Where are Python modules installed Ubuntu?

pip , easy_install or python setup.py install installs go into a folder /usr/local/lib/pythonX. Y/dist-packages .

Where are Python modules stored?

For the most part, modules are just Python scripts that are stored in your Lib or Lib/site-packages folder, or local to the script being run. That’s it. The installation of *most* modules is simply the moving of the module’s files into these directories. It’s very basic.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest