| 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
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.