Hi, I haven't the problem on Ubuntu 12.04: sage: vector( [-1,2] ) (-1, 2) sage: version() 'Sage Version 5.0, Release Date: 2012-05-14' sage: exit Exiting Sage (CPU time 0m1.48s, Wall time 0m18.12s). hamsin@hamsin:~$ uname -a Linux hamsin 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:33:05 UTC 2012 i686 i686 i386 GNU/Linux
and sage: vector( [-1,2] ) (-1, 2) sage: version() 'Sage Version 5.0.1, Release Date: 2012-06-10' hamsin@hamsin-PC:~$ uname -a Linux hamsin-PC 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux Regards, Oleksandr On Sunday, June 17, 2012 4:13:05 AM UTC+2, Chris Seberino wrote: > > 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 sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org