Opened 11 years ago

Closed 11 years ago

#41405 closed defect (worksforme)

py-matplotlib: ImportError: cannot import name scimath

Reported by: skymoo (Adam Mercer) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: lord@…
Port: py-matplotlib

Description

Trying to update to py27-matplotlib @1.3.1_1, on Mavericks, and the build is failing with:

:info:build running build_ext
:info:build building 'matplotlib.ft2font' extension
:info:build Traceback (most recent call last):
:info:build   File "setup.py", line 268, in <module>
:info:build     **extra_args
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
:info:build     dist.run_commands()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
:info:build     self.run_command(cmd)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
:info:build     cmd_obj.run()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py", line 127, in run
:info:build     self.run_command(cmd_name)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
:info:build     self.distribution.run_command(command)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
:info:build     cmd_obj.run()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 52, in run
:info:build     _build_ext.run(self)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py", line 337, in run
:info:build     self.build_extensions()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py", line 446, in build_extensions
:info:build     self.build_extension(ext)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 186, in build_extension
:info:build     _build_ext.build_extension(self,ext)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py", line 493, in build_extension
:info:build     include_dirs=ext.include_dirs,
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/work/matplotlib-1.3.1/setupext.py", line 699, in __get__
:info:build     result = obj._hooks[self._name]() + result
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/work/matplotlib-1.3.1/setupext.py", line 725, in include_dirs_hook
:info:build     import numpy
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/__init__.py", line 153, in <module>
:info:build     from . import add_newdocs
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
:info:build     from numpy.lib import add_newdoc
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/__init__.py", line 17, in <module>
:info:build     from . import scimath as emath
:info:build ImportError: cannot import name scimath

Full build log is attached.

Attachments (2)

main.log (67.2 KB) - added by skymoo (Adam Mercer) 11 years ago.
main33.log (11.1 KB) - added by lord@… 11 years ago.
py33-matplotlib log

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by skymoo (Adam Mercer)

Attachment: main.log added

comment:1 Changed 11 years ago by lord@…

I am having same problem with py33-matplotlib

comment:2 Changed 11 years ago by lord@…

Cc: lord@… added

Cc Me!

Changed 11 years ago by lord@…

Attachment: main33.log added

py33-matplotlib log

comment:3 Changed 11 years ago by skymoo (Adam Mercer)

Resolution: worksforme
Status: newclosed

Seems to have gone away with py27-matplotlib @1.3.1_2

Note: See TracTickets for help on using tickets.