1 | initial version |
hi and thanks for your answers i made this :
(--) sage -sh -c 'echo $SAGE_ROOT'
/Applications/SageMath-9-5.app/Contents/Frameworks/Sage.framework/Versions/9.5
(--) export PATH=/Applications/SageMath-9-5.app/Contents/Frameworks/Sage.framework/Versions/9.5:$PATH
now, the programm as typed below gives this error :
f(x,y)=(-x)/(1+y)+2*x
^
SyntaxError: cannot assign to function call
for info, the which command gives :
(--) which sage
/usr/local/bin/sage
2 | No.2 Revision |
hi and thanks for your answers i made this :
(--) sage -sh -c 'echo $SAGE_ROOT'
/Applications/SageMath-9-5.app/Contents/Frameworks/Sage.framework/Versions/9.5
(--) export PATH=/Applications/SageMath-9-5.app/Contents/Frameworks/Sage.framework/Versions/9.5:$PATH
now, the programm as typed below gives this error :
f(x,y)=(-x)/(1+y)+2*x
^
SyntaxError: cannot assign to function call
my interpretation is that this syntax is not recognized as sage syntax ; indeed it is not a python syntax ; i guess that the sage interpretor is not called ; what shall i do ?
for info, the which command gives :
(--) which sage
/usr/local/bin/sage