Ask Your Question

OA's profile - activity

2014-06-29 18:00:13 +0200 received badge  Famous Question (source)
2014-02-03 21:11:46 +0200 received badge  Notable Question (source)
2012-08-23 15:43:12 +0200 received badge  Popular Question (source)
2011-12-03 16:38:45 +0200 commented question AttributeError on Oneiric Ocelot

my friend pointed out that may be it gave some errors while it is building but since it kept rolling i didn't notice it. But some part was definitely working fine. For example i could define a finite field and a projective space over it. I guess previous versions of Ubuntu had fortran by default but not this one.

2011-12-02 13:46:18 +0200 commented question AttributeError on Oneiric Ocelot

It turned out that Ubuntu 11.10 did not have some fortran package. With a help of a friend we installed gfortran and things seem fine for now.

2011-11-30 15:56:32 +0200 commented question AttributeError on Oneiric Ocelot

ok thanks. once again

2011-11-30 14:56:42 +0200 commented question AttributeError on Oneiric Ocelot

There is a long list of error messages that i did not post. I can post them too if necessary.

2011-11-30 14:54:10 +0200 commented question AttributeError on Oneiric Ocelot

sage: v=vector([1,2]) --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /home/ogularslan/Desktop/sage/<ipython console=""> in <module>() /home/ogularslan/Desktop/sage/local/lib/python2.6/site-packages/sage/modules/free_module_element.so in sage.modules.free_module_element.vector (sage/modules/free_module_element.c:3719)() /home/ogularslan/Desktop/sage/local/lib/python2.6/site-packages/numpy/__init__.pyc in <module>() 134 return loader(*packages, **options) 135 --> 136 import add_newdocs 137 __all__ = ['add_newdocs'] 138

2011-11-30 14:53:39 +0200 commented question AttributeError on Oneiric Ocelot

I must have missed the last comment even though i kept looking couple of days. I just saw it. Now i am back to working on this. I uninstalled got a fresh copy of sage and I am still having the same issue. I am using Ubuntu-11.10. I downloaded (sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux.tar.lzma). And here is what i get when I use the vectors.

2011-11-10 15:16:04 +0200 commented question AttributeError on Oneiric Ocelot

and it keeps going like that. I think it is because i did not have all the packages. I am downloading the packages now and i will see how it works. Thanks a lot for the responses.

2011-11-10 15:13:29 +0200 commented question AttributeError on Oneiric Ocelot

so in sage.modules.free_module_element.vector (sage/modules/free_module_element.c:3719)()/home/Desktop/sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/numpy/__init__.pyc in <module>() 134 return loader(*packages, **options) 135 --> 136 import add_newdocs 137 __all__ = ['add_newdocs'] 138 /home/Desktop/sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/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 ###############################################################################

2011-11-10 15:08:40 +0200 commented question AttributeError on Oneiric Ocelot

Hi. here is what i get when i start a fresh session :---------------------------------------------------------------------- | Sage Version 4.7.2, Release Date: 2011-10-29 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: v=vector([1,2]) --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /home/Desktop/sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/<ipython console=""> in <module>() /home/Desktop/sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/modules/free_module_element.so in sage.modules.free_module_eleme

2011-11-10 14:38:48 +0200 answered a question AttributeError on Oneiric Ocelot

Hello,

Thanks for the responses. I am using Sage in Ubuntu. I am using version 4.7.2. It seems like i did not have all the packages since it also gave error when i tried to define matrices. Here is what i get:

sage: v = vector([1,2,3]);v

AttributeError Traceback (most recent call last)

/home/ogularslan/Desktop/sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/<ipython console=""> in <module>()

/home/ogularslan/Desktop/sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/sage/modules/free_module_element.so in sage.modules.free_module_element.vector (sage/modules/free_module_element.c:3719)()

/home/ogularslan/Desktop/sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/numpy/__init__.py in <module>() 134 return loader(packages, *options) 135 --> 136 import add_newdocs 137 __all__ = ['add_newdocs'] 138

/home/ogularslan/Desktop/sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/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 ###############################################################################

/home/ogularslan/Desktop/sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/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 *

/home/ogularslan/Desktop/sage-4.7.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/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'

Thanks again

2011-11-10 11:26:03 +0200 asked a question AttributeError on Oneiric Ocelot

Hello,

I get the message "AttributeError: 'module' object has no attribute 'core'" when i try to define a vector using "vector" command like v = vector([1,2]). Does anyone knows what causes this and how can i fix it?

Edit: this is on Ubuntu 11.10 with an older version binary.