Just installed sage-6.8
>From python program I run the following command:
res =
check_output(["/opt/mathenv/sage-6.8/sage","/opt/mathenv/mathsite/mathsite/scripts/eq_solver.sage","x-5",
"x",'-oo', '1', 'oo', '1', '14'])
But this piece of code gives me the following error:
CalledProcessError: Command '['/opt/mathenv/sage-6.8/sage',
'/opt/mathenv/mathsite/mathsite/scripts/eq_solver.sage', 'x-5', 'x', '-oo',
'1', 'oo', '1', '14']' returned non-zero exit status 1
It works perfectly if I enter the command directly in shell, so there are
no errors with the script.
Moreover if I modify script, so that it doesn't contain sage code (pure
python) and run
check_output(["python","/opt/mathenv/mathsite/mathsite/scripts/eq_solver.sage","x-5",
"x",'-oo', '1', 'oo', '1', '14']), then it works.
That's why I think that the problem is with /opt/mathenv/sage-6.8/sage.
Maybe it is virtual environment or something else?
The only difference is that I upgraded from 6.5 to 6.8.
Can somebody advise me what to do or where to find 6.5 distribution?
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.