[SciPy-user] Missing library will not allow SciPy to load.

Louis Pecora pecora at anvil.nrl.navy.mil
Thu Oct 12 16:17:04 CDT 2006


Tom Bridgman wrote:
>> When I do
>>
>> from scipy import *
>>
>> I get the following error:
>>
>> ImportError: Failure linking new module:
>> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ 
>> site-packages/scipy/sparse/sparsetools.so:
>> Library not loaded: /usr/local/lib/libg2c.0.dylib
>>   Referenced from:
>> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ 
>> site-packages/scipy/sparse/sparsetools.so
>>   Reason: image not found
>>
>>
>> It seems I'm missing  libg2c.0.dylib.  I just installed the SciPy
>> SuperPack.  I guess it wasn't in there or was supposed to be installed
>> from some other package.  Does anyone know about this?
>>
>>     
> I believe this is installed as part of the g77 package (g77v3.4- 
> bin.tar.gz).
>
> Tom
>   

Yes, this seemed to do it.  But I did have to use Terminal to manually 
transfer those files into /usr/local and sub directories.  Unlike the 
packages, this one is back up to the user.

Thanks.

-- 
Cheers,

Lou Pecora

Code 6362
Naval Research Lab
Washington, DC  20375
USA
Ph:  +202-767-6002
email:  pecora at anvil.nrl.navy.mil



More information about the SciPy-user mailing list