Hi folks,
when trying to run scipy-py24 from unstable, "import scipy" (or similar) fails with this error:
File "<stdin>", line 1, in ?
File "/sw/lib/python2.4/site-packages/scipy/__init__.py", line 11, in ?
from scipy_base import *
File "/sw/lib/python2.4/site-packages/scipy_base/__init__.py", line 13, in ?
mat = ppimport_attr(ppimport('Matrix'), 'Matrix')
File "/sw/lib/python2.4/site-packages/scipy_base/ppimport.py", line 165, in ppimport
so_ext = _get_so_ext()
File "/sw/lib/python2.4/site-packages/scipy_base/ppimport.py", line 44, in _get_so_ext
so_ext = get_config_vars('SO')[0] or ''
File "/sw/src/root-python24-2.4-6/sw/lib/python2.4/distutils/sysconfig.py", line 486, in get_config_vars
File "/sw/src/root-python24-2.4-6/sw/lib/python2.4/distutils/sysconfig.py", line 371, in _init_posix
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "" but "10.3" during configure
Setting the above-mentioned environment var. to "10.3" before launching python2.4 resolves the problem, but does anyone know of a fix without having to change your startup (.profile/.login) files? Otherwise, this should probably be added to
/sw/bin/init.* so people don't have to modify their environment before using the updated scipy.
Cheers,
Derek------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
