You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a system-wide installation of matplotlib in /usr/lib64/.... and a local one in ~/.local/lib/... The local one was installed using make && python setup.py build && python setup.py install --user. The problem I see is that the system-wide mpl_toolkits package is imported if I try to import mpl_toolkits in a python shell. However, matplotlib is imported from the local installation:
Is the global version of matplotlib pre-1.3.x? Prior to matplotlib 1.3.x, mpl_toolkits was not a namespace package, but now it is. I suspect having a "real" package trumps the magic that makes namespace packages work.
There are some solutions:
Upgrade your global matplotlib install to 1.3 or later
Use a virtualenv --no-system-site-packages and then install matplotlib into that rather than setup.py install --user.
I'm closing this (though we can keep the discussion going) because I don't know if there's anything matplotlib can do from our end.
I'm on a247d93.
I have a system-wide installation of matplotlib in
/usr/lib64/....
and a local one in~/.local/lib/..
. The local one was installed usingmake && python setup.py build && python setup.py install --user
. The problem I see is that the system-widempl_toolkits
package is imported if I try to importmpl_toolkits
in a python shell. However,matplotlib
is imported from the local installation:The mpl_toolkits is actually installed in the local installation:
The text was updated successfully, but these errors were encountered: