Opened 7 years ago

Last modified 6 years ago

#55063 closed defect

py27-matplotlib2.1.0_1 import fails — at Version 2

Reported by: mfacorcoran Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-matplotlib

Description (last modified by mf2k (Frank Schima))

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

Change History (2)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: sean@… removed
Owner: set to seanfarley
Port: py-matplotlib added; py27-matplotlib @2.1.0_1+cairo+tkinte removed
Status: newassigned

In the future, please use WikiFormatting.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.