[SciPy-User] numpy core failure.
John
washakie at gmail.com
Mon Nov 1 16:18:30 EDT 2010
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
-------------- next part --------------
[jfb at andy ~]$ipython -p math
/x64/site-packages/cdat/lib/python2.6/site-packages/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated
from sets import Set
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/x64/site-packages/matplotlib/__init__.py in <module>()
133 import sys, os, tempfile
134
--> 135 from matplotlib.rcsetup import (defaultParams,
136 validate_backend,
137 validate_toolbar,
/x64/site-packages/matplotlib/rcsetup.py in <module>()
17 import warnings
18 from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
---> 19 from matplotlib.colors import is_color_like
20
21 #interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'fltkagg', 'qtagg', 'qt4agg',
/x64/site-packages/matplotlib/colors.py in <module>()
50 """
51 import re
---> 52 import numpy as np
53 from numpy import ma
54 import matplotlib.cbook as cbook
/x64/site-packages/numpy/__init__.pyc in <module>()
130 return loader(*packages, **options)
131
--> 132 import add_newdocs
133 __all__ = ['add_newdocs']
134
/x64/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 ###############################################################################
/x64/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 *
/x64/site-packages/numpy/lib/polynomial.py in <module>()
15 from numpy.lib.function_base import trim_zeros, sort_complex
16 from numpy.lib.type_check import iscomplex, real, imag
---> 17 from numpy.linalg import eigvals, lstsq
18
19 class RankWarning(UserWarning):
/x64/site-packages/numpy/linalg/__init__.py in <module>()
45 from info import __doc__
46
---> 47 from linalg import *
48
49 from numpy.testing import Tester
/x64/site-packages/numpy/linalg/linalg.py in <module>()
20 isfinite, size
21 from numpy.lib import triu
---> 22 from numpy.linalg import lapack_lite
23 from numpy.matrixlib.defmatrix import matrix_power
24
ImportError: libaf90math.so: cannot open shared object file: No such file or directory
WARNING: Failure executing code: 'from matplotlib import interactive'
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
NameError: name 'interactive' is not defined
WARNING: Failure executing code: 'interactive(True)'
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/x64/site-packages/numpy/__init__.py in <module>()
130 return loader(*packages, **options)
131
--> 132 import add_newdocs
133 __all__ = ['add_newdocs']
134
/x64/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 ###############################################################################
/x64/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 *
/x64/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'
WARNING: Failure executing code: 'import numpy as np'
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/x64/site-packages/matplotlib/__init__.py in <module>()
133 import sys, os, tempfile
134
--> 135 from matplotlib.rcsetup import (defaultParams,
136 validate_backend,
137 validate_toolbar,
/x64/site-packages/matplotlib/rcsetup.py in <module>()
17 import warnings
18 from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
---> 19 from matplotlib.colors import is_color_like
20
21 #interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'fltkagg', 'qtagg', 'qt4agg',
/x64/site-packages/matplotlib/colors.py in <module>()
50 """
51 import re
---> 52 import numpy as np
53 from numpy import ma
54 import matplotlib.cbook as cbook
/x64/site-packages/numpy/__init__.py in <module>()
130 return loader(*packages, **options)
131
--> 132 import add_newdocs
133 __all__ = ['add_newdocs']
134
/x64/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 ###############################################################################
/x64/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 *
/x64/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'
WARNING: Failure executing code: 'import matplotlib.pyplot as plt'
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
11
12
---> 13 import numpy as np
14 import math
15 import copy
/x64/site-packages/numpy/__init__.py in <module>()
130 return loader(*packages, **options)
131
--> 132 import add_newdocs
133 __all__ = ['add_newdocs']
134
/x64/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 ###############################################################################
/x64/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 *
/x64/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'
WARNING: Failure executing code: 'import mapping as mp'
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/home/jfb/<string> in <module>()
/home/jfb/jxpart.py in <module>()
64 #Dependencies:
65 # Numpy
---> 66 import numpy as np
67 # Matplotlib
68 import matplotlib as mpl
/x64/site-packages/numpy/__init__.py in <module>()
130 return loader(*packages, **options)
131
--> 132 import add_newdocs
133 __all__ = ['add_newdocs']
134
/x64/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 ###############################################################################
/x64/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 *
/x64/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'
WARNING: Failure executing code: 'import pflexpart as pf'
*** math functions available globally, cmath as a module
/nilu2/home/jfb/.bashrc: 72: shopt: not found
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/x64/site-packages/cdat/lib/python2.6/site-packages/IPython/ipmaker.pyc in force_import(modname)
64 reload(sys.modules[modname])
65 else:
---> 66 __import__(modname)
67
68
/home/jfb/.ipython/ipy_user_conf.py in <module>()
114 ip.ex('execfile("%s")' % os.path.expanduser(fname))
115
--> 116 main()
117
118
/home/jfb/.ipython/ipy_user_conf.py in main()
95 # at your own risk!
96 #impofrt ipy_greedycompleter
---> 97 from matplotlib import interactive
98 import numpy as np
99 import matplotlib.pyplot as plt
/x64/site-packages/matplotlib/__init__.py in <module>()
133 import sys, os, tempfile
134
--> 135 from matplotlib.rcsetup import (defaultParams,
136 validate_backend,
137 validate_toolbar,
/x64/site-packages/matplotlib/rcsetup.py in <module>()
17 import warnings
18 from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
---> 19 from matplotlib.colors import is_color_like
20
21 #interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'fltkagg', 'qtagg', 'qt4agg',
/x64/site-packages/matplotlib/colors.py in <module>()
50 """
51 import re
---> 52 import numpy as np
53 from numpy import ma
54 import matplotlib.cbook as cbook
/x64/site-packages/numpy/__init__.py in <module>()
130 return loader(*packages, **options)
131
--> 132 import add_newdocs
133 __all__ = ['add_newdocs']
134
/x64/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 ###############################################################################
/x64/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 *
/x64/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
More information about the SciPy-User
mailing list