[SciPy-User] numpy core failure

John washakie at gmail.com
Mon Nov 1 16:47:34 EDT 2010


Folks, solved it partially. On the machine I compiled numpy with, we
had softlinked g77 to another compiler. Numpy used this, but of course
it's libraries were only available on the one machine. That solves the
libaf90math.so problem.

However, on the 9.10 machines I'm still getting this error:
ImportError: /lib/libc.so.6: version `GLIBC_2.11' not found (required
by /x64/site-packages/numpy/core/multiarray.so)

So here's something interesting (almost disastrous, actually). I
copied libc.so.6 into a networked drive on my path, but all the sudden
any ssh access was Seg Faulting!!! Yikes. Luckily, I had another
session still logged on and was able to remove the file.

So any suggestion on what needs to be done here? This is really a
trying error...

As always, thanks for contributing..







On Mon, Nov 1, 2010 at 9:18 PM, John <washakie at gmail.com> wrote:
> A bit more information...
>
> On one machine I found this error:
> ImportError: libaf90math.so: cannot open shared object file: No such
> file or directory
>
> I don't know what this library is and I can't find much online about it.
>
> I'm going ahead an attaching all the output from the error, but there
> aren't any clear clues for me... maybe someone with keener eyes??
>
> Thanks!
>
> -john
>
> On Mon, Nov 1, 2010 at 8:50 PM, John <washakie at gmail.com> wrote:
>> Hello,
>>
>> I've been recently trying to get several boxes that I work on 'happy'.
>> I'm upgrading matplotlib, numpy, scipy, basemap, and PyNGL, and PyNIO.
>> I don't have administrative privileges and rely on a mounted directory
>> which is in my python path. It's a headache, but tends to work. I have
>> a strange problem now, however. All the machines (8 in total) are
>> either Ubuntu 9.10 or Ubuntu 10.04 LTS. The point is we want the bring
>> them all to 10.04, but it's causing some headaches due to libgeos-3
>> libraries, and lib2c which apparently is no longer available as a dev
>> package in 10.04. Okay, that's the background -- and bear in mind, it
>> seems most my problems are solved with the libraries, etc.
>>
>> Now, however, I just ran into this. I installed numpy, and it went
>> fine on one box. I went to the another box (these both happen to be
>> 10.04 by the way), and I get the error below. Does anyone have any
>> idea what may be causing this?!?! The error is from:
>> import numpy as np
>>
>> during my ipython start up.
>>
>> Thank you,
>> john
>>
>>
>>     50 """
>>     51 import re
>> ---> 52 import numpy as np
>>     53 from numpy import ma
>>     54 import matplotlib.cbook as cbook
>>
>> /x/site-packages/numpy/__init__.py in <module>()
>>    130         return loader(*packages, **options)
>>    131
>> --> 132     import add_newdocs
>>    133     __all__ = ['add_newdocs']
>>    134
>>
>> /x/site-packages/numpy/add_newdocs.py in <module>()
>>      7 #       core/fromnumeric.py, core/defmatrix.py up-to-date.
>>
>>      8
>> ----> 9 from lib import add_newdoc
>>     10
>>     11 ###############################################################################
>>
>>
>> /x/site-packages/numpy/lib/__init__.py in <module>()
>>     11
>>     12 import scimath as emath
>> ---> 13 from polynomial import *
>>     14 #import convertcode
>>
>>     15 from utils import *
>>
>> /x/site-packages/numpy/lib/polynomial.py in <module>()
>>      9 import re
>>     10 import warnings
>> ---> 11 import numpy.core.numeric as NX
>>     12
>>     13 from numpy.core import isscalar, abs, finfo, atleast_1d, hstack
>>
>> AttributeError: 'module' object has no attribute 'core'
>>
>> --
>>
>>
>> Configuration
>> ``````````````````````````
>> Basemap: 1.0
>> Matplotlib: 1.0.0
>> Numpy 1.4.1 (trying)
>> scipy 0.8.0
>> Ubuntu 10.04
>>
>
>
>
> --
> Configuration
> ``````````````````````````
> Plone 2.5.3-final,
> CMF-1.6.4,
> Zope (Zope 2.9.7-final, python 2.4.4, linux2),
> Python 2.6
> PIL 1.1.6
> Mailman 2.1.9
> Postfix 2.4.5
> Procmail v3.22 2001/09/10
> Basemap: 1.0
> Matplotlib: 1.0.0
>



-- 
Configuration
``````````````````````````
Plone 2.5.3-final,
CMF-1.6.4,
Zope (Zope 2.9.7-final, python 2.4.4, linux2),
Python 2.6
PIL 1.1.6
Mailman 2.1.9
Postfix 2.4.5
Procmail v3.22 2001/09/10
Basemap: 1.0
Matplotlib: 1.0.0



More information about the SciPy-User mailing list