I've been trying to setup sagemath in order to use the sage python module by importing it in an other python project. I'm trying to get the same thing that i get when calling:
Is there a deployment script/python egg that install the module in dist-package? Is there a folder i can add to my python path?
So far I downloaded the "sage-4.6-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux.tar.lzma" version and unpacked it to "/opt/sage" while changing sure to update the "SAGE_ROOT" in /opt/sage.
I know there must be a way to do so because FAQ mentions it. Python 2.6 is already bundled with my machine so i guess all I have to do is add a folder to my python path?
asked Dec 19 '10charettes
33 ● 1 ● 2 ● 7
I don't think that this is really possible at present - an mostly uninformed guess is that anything relying on an spkg or external programs would break. If you want to try it anyway, maybe set SAGE_ROOT as devel/sage/build/ (since that's the built version of the code).
There's a thread on sage-devel that might be useful.
posted Dec 21 '10Felix Lawrence
584 ● 7 ● 9 ● 17
I tried "cd" to SAGE_ROOT/devel/sage did the following.
I'm stuck to this, any idea why i get this error while running sage from the console and netbook works fine?
posted Dec 20 '10charettes
33 ● 1 ● 2 ● 7
Asked: Dec 19 '10
Seen: 1,126 times
Last updated: Dec 21 '10
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.