Hi.
I have such problem.
I've created py file:
#!/usr/bin/python3
from sympy import *
x = Symbol('x')
print(expand(sin(x)*(x-1)*(x+1)))
When it is inside of SymPy lib dir, it returns correct result in console.
But, when I put it not inside the lib dir, it tells me, that:
NameError: name 'Symbol' is not defined
How can I fix it, to be able to execute this file from anywhere in my
directory tree?
Thanks
Mike
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/0366675e-dacb-4954-a267-9fcf55cd89efn%40googlegroups.com.