Řyvind Jensen wrote:
I'm at commit d0acf2e92ebbd921b492f4db430d967bc7bea091 and try to run
the examples, but I get an error:

[...@ubuntulaptop sympy (alan)]$ python sympy/tensor/examples/
testtensor.py
Traceback (most recent call last):
  File "sympy/tensor/examples/testtensor.py", line 3, in <module>
    from sympy.tensor.tensor import *
ImportError: No module named tensor.tensor

Did you do both 'sudo python setup.py install' and 'sudo python setupegg.py install' or in the example you can change

import sys
from sympy.tensor.tensor import *
#sys.path.append('../')
#from tensor import *

to

import sys
#from sympy.tensor.tensor import *
sys.path.append('../')
from tensor import *


The problem I see with regard to using the functions associated with 'Expr' is the problem with the tensor contraction operation. If it were not for contraction subclassing 'Expr' would be a great idea. I would welcome any ideas on how to make 'Expr' compatible with contraction. Could there be a problem in subclassing 'Expr' when the required operators are more that just +,-,*, and / ?

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
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/sympy?hl=en.

Reply via email to