Ask Your Question

Can I copy sage library to my program folder and..

asked 2011-10-16 13:24:26 +0200

teepan123 gravatar image

I build that must use some math function ie. IntegerModRing,.. and i don't want to use "from sage.all import *" cause it will run sage first to import library

Can I copy sage library to my program folder and just use "from path/to/ import *" or it have another way

ps. Reason i don't want to run sage is i want to create to pure program that use/import sage-lib not program that must install/run sage first before use.

thank you very much

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-10-16 15:16:14 +0200

Mike Hansen gravatar image

No, you can't just copy the Sage (Python) library to another folder and expect things to work. Sage comes with a bunch of C libraries and external programs that it needs to work. Basically you'd need to redistribute Sage in order for to properly run.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-10-16 13:24:26 +0200

Seen: 192 times

Last updated: Oct 16 '11