Ask Your Question

ngativ's profile - activity

2020-12-27 07:47:57 -0600 received badge  Notable Question (source)
2018-05-14 08:46:59 -0600 received badge  Notable Question (source)
2018-05-14 08:46:59 -0600 received badge  Popular Question (source)
2017-12-11 21:44:26 -0600 received badge  Famous Question (source)
2017-12-11 21:44:26 -0600 received badge  Notable Question (source)
2017-09-17 20:29:06 -0600 received badge  Famous Question (source)
2016-03-18 12:44:31 -0600 received badge  Notable Question (source)
2015-11-18 16:01:30 -0600 received badge  Famous Question (source)
2014-11-20 04:54:10 -0600 received badge  Famous Question (source)
2014-06-28 20:14:34 -0600 marked best answer error while trying to import weave

When trying to load the converter form weave i got the following error:

sage: from scipy import weave            
sage: from weave import converters       
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/home/alex/<ipython console> in <module>()

/opt/sage-4.5.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/weave/__init__.py in <module>()
     18 except:
     19     pass
     20 
---> 21 from numpy.testing import ScipyTest
     22 test = ScipyTest().test

ImportError: cannot import name ScipyTest

And ...

sage: import weave                       
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/home/alex/<ipython console> in <module>()

/opt/sage-4.5.2-linux-32bit-ubuntu_10.04_lts-i686-Linux/local/lib/python2.6/site-packages/weave/__init__.py in <module>()
     18 except:
     19     pass
     20 
---> 21 from numpy.testing import ScipyTest
     22 test = ScipyTest().test

ImportError: cannot import name ScipyTest

What can i do?

2013-08-08 22:22:35 -0600 received badge  Notable Question (source)
2013-02-27 03:12:44 -0600 received badge  Popular Question (source)
2013-02-10 08:54:47 -0600 received badge  Famous Question (source)
2013-02-07 06:09:35 -0600 received badge  Notable Question (source)
2012-11-25 17:49:12 -0600 received badge  Notable Question (source)
2012-07-18 11:00:15 -0600 received badge  Popular Question (source)
2012-06-25 15:48:27 -0600 received badge  Popular Question (source)
2012-04-23 16:01:33 -0600 received badge  Popular Question (source)
2012-03-09 06:37:12 -0600 received badge  Notable Question (source)
2012-02-22 04:37:37 -0600 received badge  Popular Question (source)
2012-02-16 05:41:23 -0600 received badge  Popular Question (source)
2011-08-12 08:06:21 -0600 received badge  Notable Question (source)
2011-08-01 04:39:15 -0600 received badge  Nice Question (source)
2011-04-19 21:07:38 -0600 received badge  Popular Question (source)
2011-04-11 06:41:14 -0600 received badge  Taxonomist
2011-03-09 04:12:08 -0600 received badge  Good Question (source)
2011-03-06 23:23:55 -0600 received badge  Popular Question (source)
2011-03-04 12:26:55 -0600 received badge  Nice Question (source)
2011-01-25 03:30:50 -0600 marked best answer error while trying to import weave

The following should work:

sage: from scipy.weave import converters

Note that this is different from

sage: from scipy import weave
sage: from weave import converters

which gives the ImportError. The weave in from weave import converters does not refer to the module imported in from scipy import weave. Look at the following example:

sage: import scipy.weave as w2
sage: from w2 import converters
Traceback (most recent call last)
...
ImportError: No module named w2
2010-11-04 04:51:32 -0600 answered a question Trying to install sage to SUSE 11.3

I had this problem too, i was unable to compile sage 4.5.3 on Opensuse version 14 milestone 2. Mitesh's answer solved my problem.

2010-10-14 16:11:12 -0600 received badge  Teacher (source)
2010-10-14 16:11:11 -0600 received badge  Editor (source)
2010-10-14 16:11:11 -0600 received badge  Student (source)
2010-10-14 16:11:11 -0600 received badge  Supporter
2010-10-14 16:11:11 -0600 received badge  Scholar (source)
2010-09-06 05:01:25 -0600 commented answer can i compile sage with the Intel's compilers?

well, doing export CC=icc;export CXX=icpc; sage -f python seems to work. at least, sage loads faster

2010-09-01 18:19:01 -0600 asked a question can i compile sage with the Intel's compilers?

or at least the sage's python?

2010-08-28 18:16:22 -0600 commented answer It would be ok to incorporate veusz into sage?

ok, it uses qt4py which is an experimental package, so what kind of package it should be?

2010-08-28 17:49:09 -0600 asked a question It would be ok to incorporate veusz into sage?

Today i saw this [http://kde-apps.org/content/show.php/...], and it looks cool doing numerical data 2d plots+interactive interface i.ve installed into sage and works fine, It uses PyQt4

2010-08-28 06:31:36 -0600 commented answer endless loop using ode_solve

is a convergence problem for l!=1.

2010-08-25 19:12:22 -0600 commented question can i connect to a sage server?

like using ssh yea

2010-08-25 17:36:28 -0600 asked a question can i connect to a sage server?

from the terminal WHITOUT using a web browser? maybe using ssh?

2010-08-25 16:54:59 -0600 commented answer automatic substitution within functions?

i got it now, thanks

2010-08-25 16:54:36 -0600 commented answer automatic substitution within functions?

Thanks, your answer is very usefull

2010-08-25 12:32:44 -0600 commented answer automatic substitution within functions?

i have updated my question, its about doing f(a=1,b=2,c=3...)

2010-08-25 12:28:12 -0600 edited question automatic substitution within functions?

what i do to do this?

sage: var('t w')
sage: f(t) = sin(w*t)
t |--> sin(t*w)
sage: w = 2
sage: f
t |--> sin(2*w)

Without doing f(w=2)!!! imagine that the function is f->f(a,b,c,d,f....,t) like doing this:

...
...
sage: aw1=aw1(m1=1,m2=0.5,l1=1,l2=0.5,g=9.8)
sage: aw2=aw2(m1=1,m2=0.5,l1=1,l2=0.5,g=9.8)
sage: aw4=aw4(m1=1,m2=0.5,l1=1,l2=0.5,g=9.8)
...
...

etc

2010-08-25 12:14:15 -0600 commented answer automatic substitution within functions?

thanks, :( thats exactly what i don't want. what if f->f(a,b,c,d,f....,t)? it would be a little annoying to do that.