I installed Ubuntu 12.04 about 2 weeks ago along with Sage 5.
I just now tried using vectors for the first time and got this error...
sage: vector( [-1,2] )
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/home/cs/Ws/Lone_Star/1401/Exams/<ipython console> in <module>()
/usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-i686-Linux/local/lib/python2.7/site-packages/sage/modules/free_module_element.so
in sage.modules.free_module_element.vector
(sage/modules/free_module_element.c:3789)()
/usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-i686-Linux/local/lib/python2.7/site-packages/numpy/__init__.py
in <module>()
134 return loader(*packages, **options)
135
--> 136 import add_newdocs
137 __all__ = ['add_newdocs']
138
/usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-i686-Linux/local/lib/python2.7/site-packages/numpy/add_newdocs.py
in <module>()
7 # core/fromnumeric.py, core/defmatrix.py up-to-date.
8
----> 9 from numpy.lib import add_newdoc
10
11
###############################################################################
/usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-i686-Linux/local/lib/python2.7/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 *
/usr/local/sage-5.0-linux-32bit-ubuntu_12.04_lts-i686-Linux/local/lib/python2.7/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'
sage:
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org