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

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


Pearu Peterson wrote:

>
>
> On Tue, 17 May 2005, Nils Wagner wrote:
>
>> 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'
>
>
> You seem to have scipy.base (Numeric3) in your system. Removing 
> scipy.base should fix the error, so do
>
>   rm -rf /usr/local/lib/python2.4/site-packages/scipy
>
> before building scipy.
>
> Pearu
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev

 Hi Pearu,

Thank you. Now the installation works fine.

But

scipy.test(1,verbosity=10) yields

check_random (scipy.linalg.decomp.test_decomp.test_svd) ** On entry to 
DGESDD parameter number 12 had an illegal value

     SUBROUTINE DGESDD( JOBZ, M, N, A, LDA, S, U, LDU, VT, LDVT, WORK,
     $                   LWORK, IWORK, INFO )


Parameter number 12 is LWORK .

Any idea ?

                       Nils




More information about the Scipy-dev mailing list