[MacPorts] #41405: py-matplotlib: ImportError: cannot import name scimath

MacPorts noreply at macports.org
Sun Nov 17 10:15:13 PST 2013


#41405: py-matplotlib: ImportError: cannot import name scimath
--------------------+---------------------------
 Reporter:  ram@…   |      Owner:  sean@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.2.1
 Keywords:          |       Port:  py-matplotlib
--------------------+---------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/41405>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list