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

Paul Hobson pmhobson at gmail.com
Tue Oct 10 14:12:00 EDT 2017


Were you in the matplotlib source directory when you launched your python
interpreter?
-p

On Tue, Oct 10, 2017 at 11:08 AM, mfacorcoran <
michael.francis.corcoran at gmail.com> wrote:

> 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
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20171010/7d75a8f6/attachment.html>


More information about the Matplotlib-users mailing list