[MacPorts] #55063: py27-matplotlib2.1.0_1 import fails
MacPorts
noreply at macports.org
Wed Oct 11 20:02:42 UTC 2017
#55063: py27-matplotlib2.1.0_1 import fails
----------------------------+------------------------
Reporter: mfacorcoran | Owner: seanfarley
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.1.0
Resolution: | Keywords:
Port: py-matplotlib |
----------------------------+------------------------
Description changed by mf2k:
Old description:
> I upgraded py27-matplotlib from py27-matplotlib @2.0.2_0+cairo+tkinter to
> py27-matplotlib @2.1.0_1+cairo+tkinter but got the following error when
> importing matplotlib or pylab:
>
> % 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 idea how to resolve this?
>
> thanks
>
> Mike
New description:
I upgraded py27-matplotlib from py27-matplotlib @2.0.2_0+cairo+tkinter to
py27-matplotlib @2.1.0_1+cairo+tkinter but got the following error when
importing matplotlib or pylab:
{{{
% 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 idea how to resolve this?
thanks
Mike
--
--
Ticket URL: <https://trac.macports.org/ticket/55063#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list