[SciPy-User] numpy core failure.

John washakie at gmail.com
Mon Nov 1 15:50:43 EDT 2010


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



More information about the SciPy-User mailing list