From: Maarten S. <maa...@xs...> - 2008-01-21 22:35:58
|
Hi, I have trouble installing pytables 2.0.2 on Mac OS X, version 10.5.1 on Intel. Here is the output of python setup.py build_ext --inplace ### begin * Found numpy 1.0.4 package installed. * Found HDF5 headers at ``/usr/local/include``, library at ``/usr/ local/lib``. * Could not find LZO 2 headers and library; disabling support for it. * Could not find LZO 1 headers and library; disabling support for it. * Found bzip2 headers at ``/usr/include``, library at ``/usr/lib``. Traceback (most recent call last): File "setup.py", line 624, in <module> **setuptools_kwargs File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/core.py", line 125, in setup dist.parse_config_files() File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/dist.py", line 366, in parse_config_files filenames = self.find_config_files() File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/dist.py", line 329, in find_config_files check_environ() File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/util.py", line 208, in check_environ os.environ['PLAT'] = get_platform() File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/util.py", line 78, in get_platform cfgvars = get_config_vars() File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/sysconfig.py", line 504, in get_config_vars func() File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/sysconfig.py", line 389, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure ### end I have set the value of the environment variable MACOSX_DEPLOYMENT_TARGET to 10.3 and 10.5 explicitly (by default it is not set at all), but got the same results (from a clean pytables source directory). Any clues? Kind regards, Maarten |