-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
No module named externals #5633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It sounds like you somehow have two versions of matplotlib installed on top of each other. |
Hi Nielsen, it works following your suggestions and thanks a lot. May I ask one more question that how do you find out there are two conflicting versions of matplotlib? |
It was just a guess. But there were two reasons
|
I am having this problem now, and re-installing matplotlib didn't help... Anything I might be missing? Ubuntu 16.04, installation of python 3.5 parallel with 2.7 (tried reinstalling maptlotlib in both installations).
|
have you tried removing the matplotlib package provided through Ubuntu? The
error seems to suggest that the mpl_toolkits is getting picked up in the
dist-packages folder, which seems to be old.
…On Tue, May 30, 2017 at 2:54 PM, Ilya Flyamer ***@***.***> wrote:
I am having this problem now, and re-installing matplotlib didn't help...
Anything I might be missing? Ubuntu 16.04, installation of python 3.5
parallel with 2.7 (tried reinstalling maptlotlib in both installations).
s1529682:~$ python3
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from mpl_toolkits.axes_grid1 import ImageGrid
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/mpl_toolkits/axes_grid1/__init__.py", line 4, in <module>
from matplotlib.externals import six
ImportError: No module named 'matplotlib.externals'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5633 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARy-HQn9XiONOK3QSi6bw-wURMALHJJks5r_GXOgaJpZM4Gwx3s>
.
|
Ah, good idea, thanks, this helped! |
I installed matplotlib and scikit-bio via conda. An import error listed below occurred when I imported. Appreciate any help to solve it.
Python 2.7.11 |Anaconda 2.4.0 (64-bit)| (default, Dec 6 2015, 18:08:32)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
The text was updated successfully, but these errors were encountered: