Hello, Dear Support team.
I've encountered a problem when importing sage library into a python
script. PATH and LD_LIBRARY_PATH variables are set. And I have no idea
how to solve this issue.
Could you help me, please?
hexxy@hexxy-PC:/var/www/codes/codetables$ echo $PATH
/usr/local/sage:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/
bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
hexxy@hexxy-PC:/var/www/codes/codetables$ echo $LD_LIBRARY_PATH
/usr/local/sage/local/lib
hexxy@hexxy-PC:/var/www/codes/codetables$ python2.6 gen_pol_other.py
Traceback (most recent call last):
File "gen_pol_other.py", line 7, in <module>
from sage.all import *
ImportError: No module named sage.all
Interactive shell works fine as you can see:
hexxy@hexxy-PC:/var/www/codes/codetables$ sage
----------------------------------------------------------------------
| Sage Version 4.7.2, Release Date: 2011-10-29 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage:
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org