Opened 8 years ago
Closed 8 years ago
#526 closed defect (fixed)
python can't import matplotlib, matplotlib.pth is missing
Reported by: | Andreas Müller | Owned by: | |
---|---|---|---|
Priority: | trivial | Component: | Package |
Version: | Keywords: | python matplotlib | |
Cc: |
Description
python can't import the modules under matplotlib, when using matplotlib_1.3.1 with python27 or python36, x86. It raises a ModulNotFoundError: No module named 'matplotlib'
Solution: add a file matplotlib.pth to site-packages which points to matplotlib-1.3.1-py2.7-win32.egg directory
please add this file to the matplotlib package!
Change History (3)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
jef, first: thank you for your quick response! You are right, checked it twice, i had a muddle.
But in my special case, i now realized that there are at least two packages that contain a file "easy-install.pth": setuptools and matplotlib. I don't know how this works while importing something else, but matplotlibs "path" is part of the file - so i think i was close ;-). Therefore, if you install setuptools after matplotlib, the former easy-install.pth is overwritten and matplotlib can't be imported anymore!
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
matplotlib updated to 2.0.0 (w/o easy-install.pth).
Not producable here:
64bit:
32bit: