[SciPy-dev] AttributeError: GnuFCompiler instance has no attribute 'compiler_so'

Nils Wagner nwagner at mecha.uni-stuttgart.de
Tue May 17 03:08:07 CDT 2005


Hi all,

I tried to install scipy from scratch.

python setup.py build failed

...
compiling Fortran sources
Traceback (most recent call last):
  File "setup.py", line 124, in ?
    setup_package(ignore_packages)
  File "setup.py", line 112, in setup_package
    url = "http://www.scipy.org",
  File "/var/tmp/cvs/scipy/scipy_core/scipy_distutils/core.py", line 73, 
in setup
    return old_setup(**new_attr)
  File "/usr/local/lib/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.4/distutils/dist.py", line 946, in 
run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python2.4/distutils/dist.py", line 966, in 
run_command
    cmd_obj.run()
  File "/usr/local/lib/python2.4/distutils/command/build.py", line 112, 
in run
    self.run_command(cmd_name)
  File "/usr/local/lib/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python2.4/distutils/dist.py", line 966, in 
run_command
    cmd_obj.run()
  File 
"/var/tmp/cvs/scipy/scipy_core/scipy_distutils/command/build_clib.py", 
line 115, in run
    self.build_libraries(self.libraries)
  File 
"/var/tmp/cvs/scipy/scipy_core/scipy_distutils/command/build_clib.py", 
line 218, in build_libraries
    extra_postargs=[])
  File 
"/usr/local/lib/python2.4/site-packages/scipy/distutils/ccompiler.py", 
line 81, in CCompiler_compile
    ccomp = self.compiler_so
AttributeError: GnuFCompiler instance has no attribute 'compiler_so'

Help is needed.

Thanks in advance
                                          Nils


Python 2.4 (#2, May 12 2005, 14:45:33)
[GCC 3.3.3 (SuSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

f2py -v
numerix Numeric 24.0b2
2.46.243_1985

g77 -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada 
--disable-checking --libdir=/usr/lib --enable-libgcj 
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib 
--with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)


 





More information about the Scipy-dev mailing list