[SciPy-user] WinXP python 2.4.2 upgrade: scipy build fails

Gary pajer at iname.com
Tue Dec 27 09:11:10 CST 2005


Travis Oliphant wrote:

>Gary wrote:
>
>  
>
>>I'm upgrading from python 2.3 to 2.4.2.
>>
>>I refreshed my svn's, deleted the previous build directories.
>>
>>scipy_core installed fine.  
>>
>>    
>>
>Let's emphasize this part lest people confuse full scipy install 
>difficulties with sicpy_core install difficulties :-)
>
>  
>
>>scipy fails.  What did I do wrong?
>>(one thing: I didn't try the latest scipy with the old python before 
>>changing both at the same time  :)    )
>> 
>>
>>    
>>
>That shouldn't matter.  
>
>What BLAS libraries are you using for scipy.  It looks like scipy is not 
>finding your blas and/or lapack libraries.  SciPy core can use them but 
>does not require them.   Full SciPy, however, requires them.  
>
>-Travis
>
>  
>
Thanks for you patience.  Everything works this morning after starting 
from scratch.
By now, with your gentle prodding, I should know better. 


The only thing I can think of was that I must have had a typo in my 
ATLAS environment variable.  I set it by hand in the command window each 
time I recompile.  The reason I do it that way is that I need ATLAS 
*only* when compiling scipy, so I define it only when needed, rather 
than have it cluttering up the space.  Obviously, there is danger of 
making a mistake this way.  But I did learn something:  atlas is not 
needed for scipy_core.  If I had figured that out, I would have figured 
out my problem.

sorry about the noise,
-gary



>  
>
>>c:\python24\lib\site-packages\scipy\distutils\system_info.py:1174: 
>>UserWarning:
>>
>>   Atlas (http://math-atlas.sourceforge.net/) libraries not found.
>>   Directories to search for the libraries can be specified in the
>>   scipy_distutils/site.cfg file (section [atlas]) or by setting
>>   the ATLAS environment variable.
>> warnings.warn(AtlasNotFoundError.__doc__)
>>blas_info:
>> NOT AVAILABLE
>>
>>c:\python24\lib\site-packages\scipy\distutils\system_info.py:1183: 
>>UserWarning:
>>
>>   Blas (http://www.netlib.org/blas/) libraries not found.
>>   Directories to search for the libraries can be specified in the
>>   scipy_distutils/site.cfg file (section [blas]) or by setting
>>   the BLAS environment variable.
>> warnings.warn(BlasNotFoundError.__doc__)
>>blas_src_info:
>> NOT AVAILABLE
>>
>>c:\python24\lib\site-packages\scipy\distutils\system_info.py:1186: 
>>UserWarning:
>>
>>   Blas (http://www.netlib.org/blas/) sources not found.
>>   Directories to search for the sources can be specified in the
>>   scipy_distutils/site.cfg file (section [blas_src]) or by setting
>>   the BLAS_SRC environment variable.
>> 
>>
>>    
>>
>
>These warnings indicate that no blas can be found.  You need some BLAS 
>library for full scipy.  Even the sources from netlib would be something 
>but most really want a faster BLAS for their system.
>
>There are similar warnings for LAPACK, I think.  Make sure you have some 
>BLAS and LAPACK installed (like ATLAS), and then try to install full 
>scipy again.
>
>-Travis
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user
>
>  
>




More information about the SciPy-user mailing list