[EMAIL PROTECTED] wrote:

I have trouble running scipy-py24 with python2.4. Here what I get when I try to import the module:

[Sebastien-Marets-computer:~] smaret% python2.4
Python 2.4 (#1, Dec 30 2004, 21:03:54)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1671)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from scipy import *
Traceback (most recent call last):
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-5/sw/lib/python2.4/distutils/sysconfig.py", line 486, in get_config_vars
File "/sw/src/root-python24-2.4-5/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
>>>


What is this $MACOSX_DEPLOYMENT_TARGET ?
Thanks,

Sebastien

Sebastien: Anytime you use the distutils module (which is apparently imported by scipy) you must set the MACOSX_DEPLOYMENT_TARGET env var to 10.3. This is a python 2.4 'feature'.

-Jeff
--
Jeffrey S. Whitaker         Phone : (303)497-6313
NOAA/OAR/CDC  R/CDC1        FAX   : (303)497-6449
325 Broadway                Web   : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to