2020-05-20 04:33:36 +0200 | received badge | ● Famous Question (source) |
2019-07-19 08:58:09 +0200 | received badge | ● Notable Question (source) |
2019-07-19 08:58:09 +0200 | received badge | ● Popular Question (source) |
2018-11-02 16:19:54 +0200 | commented answer | Converting strings into expressions is it possible to convert a string of inequality to a sage expression? |
2018-10-08 10:06:35 +0200 | answered a question | error with importing sage into a python file I set the env variables in the python file which is called from djagno views function. and it's solved. you need to set the following variables: |
2018-10-07 19:33:00 +0200 | received badge | ● Editor (source) |
2018-10-07 19:32:14 +0200 | commented answer | error with importing sage into a python file thank you for your answer. Indeed Im calling this python module in a Django views.py. actually I'v installed django as a Sage package but it seems there are some problems with Sage env variables. |
2018-10-07 02:44:59 +0200 | asked a question | error with importing sage into a python file Im trying to import a sage package (var) in a python file but when run the file Im getting this error : my guess was that the problems was related to the env path. but even it does not work It seems it has problem with the value of some env variables like 'SAGE_ROOT' and ... but according to the http://doc.sagemath.org/html/en/installation/binary.html#sec-installation-from-binaries (installation manual), if I set the symbolic link
then all the required env variable are automatically handled. this module is called from a django views.py which is also installed as a Sage package. if I run the the module using everything is ok but when it is called from a django view which is also installed as sage packages I got the mentioned error I would be pleased if anybody can help me as Im doing an important project and I really need to use sage. |