Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Any idea why mine outputs '/usr/lib/pymodules/python2.7/matplotlib/__init__.pyc' ? I seems that all my modules aren't installed in site-packages which is where I would except them as well Commented Feb 10, 2013 at 20:01
  • Different distro's. I'm on Arch currently... Either way, /usr prefix should be reserved for packages installed by your system package manager. Manually installed packages should usually go in to either /usr/local or /opt. Commented Feb 10, 2013 at 20:03
  • Btw, you can check your module search path, with python -c 'import sys; print "\n".join(sys.path)'. This probably includes /usr/lib/pymodules Commented Feb 10, 2013 at 20:05
  • I was able to remedy it by using easy_install -m matplotlib then I could specify the exact package I wanted. Thanks Alex, great answer! Commented Feb 10, 2013 at 20:11
  • 1
    Cool, glad you got that sorted. I'll add that -m flag to my answer, for future peoples ;) Commented Feb 10, 2013 at 20:13