Opened 7 years ago
Last modified 7 years ago
#55063 closed defect
py27-matplotlib2.1.0_1 import fails — at Initial Version
Reported by: | mfacorcoran | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | sean@… | |
Port: | py-matplotlib |
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