In sage if we use,

from sympy import *
f=Function("f")
x=Symbol('x')
eqn=diff(f(x),x)

things work fine.

However same thing with :

from sympy import *
from scipy import *

f=Function("f")
x=Symbol('x')
eqn=diff(f(x),x)


gives following stack trace:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_118.py", line 9, in <module>
    open("___code___.py","w").write("# -*- coding: utf-8 -*-\n" +
_support_.preparse_worksheet_cell(base64.b64decode("ZXFuPWRpZmYocCh4KSx4KQ=="),globals())
+"\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>

  File "/tmp/tmpSyvbFD/___code___.py", line 2, in <module>
    eqn=diff(p(x),x)
  File "", line 1, in <module>

  File "/home/pallab/sage/sage-4.3.3-linux-32bit-ubuntu_9.10-i686-
Linux/local/lib/python2.6/site-packages/numpy/lib/function_base.py",
line 1066, in diff
    slice1[axis] = slice(1, None)
IndexError: list assignment index out of range


Is it possible to use these two packages simultaneous ?

-- 
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

To unsubscribe from this group, send email to 
sage-support+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to