[Pythonmac-SIG] Won't Install Numarray-1.1.1 or Numeric_23.6 +
Scipy
Benjamin Abécassis
abecassi at drecam.saclay.cea.fr
Wed Dec 15 18:48:01 CET 2004
it works OK now, i just de-installed the first version, python works
fine now (well just like before i installed Xcode, gcc etc... !!!)
but i still have problems with scipy...it seems like the installer can
not find a particular library, i've installed FFTW, F2PY though
here is the log :
fftw_info:
FOUND:
libraries = ['rfftw', 'fftw']
library_dirs = ['/usr/local/lib']
define_macros = [('SCIPY_FFTW_H', None)]
include_dirs = ['/usr/local/include']
djbfft_info:
NOT AVAILABLE
DJBFFT (http://cr.yp.to/djbfft.html) libraries not found.
Directories to search for the libraries can be specified in the
scipy_distutils/site.cfg file (section [djbfft]) or by setting
the DJBFFT environment variable.
blas_opt_info:
FOUND:
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3)]
extra_compile_args = ['-faltivec', '-framework', 'Accelerate']
lapack_opt_info:
FOUND:
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3)]
extra_compile_args = ['-faltivec', '-framework', 'Accelerate']
numpy_info:
FOUND:
define_macros = [('NUMERIC_VERSION', '"\\"23.6\\""')]
include_dirs =
['/System/Library/Frameworks/Python.framework/Versions/2.3/include/
python2.3']
x11_info:
FOUND:
libraries = ['X11']
library_dirs = ['/usr/X11R6/lib']
include_dirs = ['/usr/X11R6/include']
SciPy Version 0.3.2
****************************************************************
Using fortran_libraries setup option is depreciated
---------------------------------------------------
Use libraries option instead. Yes, scipy_distutils
now supports Fortran sources in libraries.
****************************************************************
running install
running build
running config_fc
running build_src
building extension "scipy.cluster._vq" sources
building extension "scipy.fftpack._fftpack" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.fftpack.convolve" sources
adding 'build/src/fortranobject.c' to sources.
building extension "scipy.integrate._quadpack" sources
building extension "scipy.integrate._odepack" sources
building extension "scipy.integrate.vode" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.interpolate._fitpack" sources
building extension "scipy.interpolate.dfitpack" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
adding 'build/src/Lib/interpolate/dfitpack-f2pywrappers.f' to sources.
building extension "scipy.io.numpyio" sources
building extension "scipy.linalg.fblas" sources
adding 'build/src/scipy/linalg/fblas.pyf' to sources.
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
adding 'build/src/build/src/scipy/linalg/fblas-f2pywrappers.f' to
sources.
building extension "scipy.linalg.cblas" sources
adding 'build/src/scipy/linalg/cblas.pyf' to sources.
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.linalg.flapack" sources
adding 'build/src/scipy/linalg/flapack.pyf' to sources.
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.linalg.clapack" sources
adding 'build/src/scipy/linalg/clapack.pyf' to sources.
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.linalg._flinalg" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.linalg.calc_lwork" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.linalg.atlas_version" sources
building extension "scipy.linalg._iterative" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.optimize._minpack" sources
building extension "scipy.optimize._zeros" sources
building extension "scipy.optimize._lbfgsb" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.optimize.moduleTNC" sources
building extension "scipy.optimize._cobyla" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.optimize.minpack2" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.signal.sigtools" sources
building extension "scipy.signal.spline" sources
building extension "scipy.sparse._zsuperlu" sources
building extension "scipy.sparse._dsuperlu" sources
building extension "scipy.sparse._csuperlu" sources
building extension "scipy.sparse._ssuperlu" sources
building extension "scipy.sparse.sparsetools" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.special.cephes" sources
building extension "scipy.special.specfun" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.stats.rand" sources
building extension "scipy.stats.statlib" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.stats.futil" sources
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy.xxx.spam" sources
adding 'build/temp.darwin-7.6.0-Power_Macintosh-2.3/Lib/xxx/spam.pyf'
to sources.
adding 'build/src/fortranobject.c' to sources.
adding 'build/src' to include_dirs.
building extension "scipy_base.fastumath" sources
adding 'scipy_core/scipy_base/fastumathmodule.c' to sources.
building extension "scipy_base._compiled_base" sources
building extension "scipy_base.display_test" sources
building extension "scipy.config" sources
adding 'build/src/scipy/scipy/config.py' to sources.
building library "rootfind" sources
building library "c_misc" sources
building library "cephes" sources
building library "dfftpack" sources
building library "fitpack" sources
building library "mach" sources
building library "amos" sources
building library "toms" sources
building library "cdf" sources
building library "specfun" sources
building library "statlib" sources
building library "quadpack_src" sources
building library "linpack_lite_src" sources
building library "mach_src" sources
building library "odepack_src" sources
building library "minpack" sources
building library "superlu_src" sources
running build_py
copying build/src/scipy/scipy/config.py ->
build/lib.darwin-7.6.0-Power_Macintosh-2.3/scipy
package init file 'Lib/tests/__init__.py' not found (or not a regular
file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/cluster/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/fftpack/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/fftpack/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/gui_thread/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/interpolate/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/io/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/linalg/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/optimize/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/signal/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/sparse/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/special/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/stats/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/xxx/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/xxx/yyy/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/scipy_core/
scipy_base/tests/__init__.py' not found (or not a regular file)
package init file 'scipy_core/weave/tests/__init__.py' not found (or
not a regular file)
package init file 'scipy_core/weave/tests/__init__.py' not found (or
not a regular file)
package init file 'Lib/tests/__init__.py' not found (or not a regular
file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/cluster/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/fftpack/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/fftpack/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/gui_thread/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/interpolate/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/io/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/linalg/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/optimize/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/signal/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/sparse/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/special/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/stats/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/xxx/tests/
__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/Lib/xxx/yyy/
tests/__init__.py' not found (or not a regular file)
package init file
'/Users/benjaminabecassis/.Trash/SciPy_complete-0.3.2/scipy_core/
scipy_base/tests/__init__.py' not found (or not a regular file)
package init file 'scipy_core/weave/tests/__init__.py' not found (or
not a regular file)
package init file 'scipy_core/weave/tests/__init__.py' not found (or
not a regular file)
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
customize NAGFCompiler
customize AbsoftFCompiler
customize IbmFCompiler
Could not locate executable g77
Could not locate executable f77
customize GnuFCompiler
customize GnuFCompiler
customize NAGFCompiler
customize NAGFCompiler using build_clib
building 'dfftpack' library
compiling Fortran sources
f95(f77) options: '-fixed -O4'
f95(f90) options: '-O4'
f95(fix) options: '-fixed -O4'
compile options: '-c'
f95:f77: Lib/fftpack/dfftpack/dcosqb.f
sh: line 1: f95: command not found
sh: line 1: f95: command not found
error: Command "f95 -fixed -O4 -c -c Lib/fftpack/dfftpack/dcosqb.f -o
build/temp.darwin-7.6.0-Power_Macintosh-2.3/Lib/fftpack/dfftpack/
dcosqb.o" failed with exit status 127
thanks again fo your help...
benjamin
Le 15 déc. 04, à 18:31, Bob Ippolito a écrit :
>
> On Dec 15, 2004, at 12:01, Enrico Franchi wrote:
>
>>
>> On 15/dic/04, at 15:03, Benjamin Abécassis wrote:
>>
>>> yes i've installed both, it now says (after reboot) :
>>>
>>> x11_info:
>>> FOUND:
>>> libraries = ['X11']
>>> library_dirs = ['/usr/X11R6/lib']
>>> include_dirs = ['/usr/X11R6/include']
>>
>> Good.
>>
>>> Fatal Python error: Interpreter not initialized (version mismatch?)
>>
>> I suppose you have installed two different python versions.
>> For example I had this problem when I tried to install QT having both
>> 2.4 and 2.3 installed. I had some misconfigurations, and while
>> installing for 2.4 was straightforward, 2.3 gave me problems.
>>
>> This should be easily fixable. Anyway, which versions did you install
>> (or am I totally wrong)?
>
> If you have a framework Python 2.4 installed, then you have broken
> extension building for any unpatched Python 2.3 installation. Please
> search the archives for more posts by me on this issue.
>
> -bob
>
>
------------------------------------------------------------------------
-----------------------------------------
Benjamin Abécassis
Laboratoire Interdisciplinaire sur l'Organisation Nanométrique et
Supramoléculaire
CEA/SACLAY, Service de Chimie Moléculaire,
91191 Gif sur Yvette Cedex, France
tel : 33 (0)-1 69 08 67 65
fax : 33 (0)-1 69 08 66 40
------------------------------------------------------------------------
----------------------------------------------
More information about the Pythonmac-SIG
mailing list