Opened 17 years ago

Closed 17 years ago

#12331 closed defect (fixed)

Port py-scipy fails to install (may result from bug in py-numpy)

Reported by: cmac@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.5.0
Keywords: scipy, numpy, python Cc:
Port:

Description

Port py-scipy fails to install, resulting in the error below. This may be a result of a bug in the py-numpy port, as reported here: http://lists.macosforge.org/pipermail/macports-users/2007-June/003843.html

(my system: Intel Mac running 10.4.10, MacPorts 1.5, python 2.4.4, py-numpy 1.0.3)

---> Building py-scipy with target build Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-scipy/work/scipy-0.5.2" && /opt/local/bin/python2.4 setup.py build " returned error 1 Command output: warnings.warn(self.notfounderror.doc)

NOT AVAILABLE

non-existing path in 'Lib/maxentropy': 'doc' Traceback (most recent call last):

File "setup.py", line 55, in ?

setup_package()

File "setup.py", line 47, in setup_package

configuration=configuration )

File "/opt/local/lib/python2.4/site-packages/numpy/distutils/core.py", line 142, in setup

config = configuration()

File "setup.py", line 19, in configuration

config.add_subpackage('Lib')

File "/opt/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 772, in add_subpackage

caller_level = 2)

File "/opt/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 755, in get_subpackage

caller_level = caller_level + 1)

File "/opt/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 702, in _get_configuration_from_setup_py

config = setup_module.configuration(*args)

File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-scipy/work/scipy-0.5.2/Lib/setup.py", line 15, in configuration

config.add_subpackage('odr')

File "/opt/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 772, in add_subpackage

caller_level = 2)

File "/opt/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 755, in get_subpackage

caller_level = caller_level + 1)

File "/opt/local/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 687, in _get_configuration_from_setup_py

('.py', 'U', 1))

File "Lib/odr/setup.py", line 9, in ?

from numpy.distutils.misc_util import get_path, Configuration, dot_join

ImportError: cannot import name get_path

Error: Status 1 encountered during processing.

Change History (1)

comment:1 Changed 17 years ago by erickt@…

Resolution: fixed
Status: newclosed

Should be fixed now. Please open a new bug if you have any more problems.

Note: See TracTickets for help on using tickets.