[Matplotlib-users] can't import cbook/matplotlib v. 2.1.0

mfacorcoran michael.francis.corcoran at gmail.com
Tue Oct 10 14:08:50 EDT 2017


I've recently updated matplotlib to 2.1.0 and now when I try to import
matplotlib/pylab I get the following error that cbook cannot be imported:

% python
Python 2.7.14 (default, Sep 22 2017, 00:05:22)
[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

Importing pyfits
Could not import pylab
Traceback (most recent call last):
  File "/Users/corcoran/.pythonrc", line 34, in <module>
    import matplotlib
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/__init__.py",
line 124, in <module>
    from . import cbook
ImportError: cannot import name cbook

any ideas what might be going on?

Mike



--
Sent from: http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html


More information about the Matplotlib-users mailing list