2014-12-30 13:09:55 +0200 | received badge | ● Famous Question (source) |
2013-07-10 05:22:25 +0200 | received badge | ● Notable Question (source) |
2012-10-21 06:56:37 +0200 | received badge | ● Popular Question (source) |
2011-11-15 11:40:36 +0200 | commented answer | from sage.all import * results in libcsage.so "cannot open shared object file" error @William Stein: Thanks for the clear explanation. My motive was to find a quick and easy way to call Sage from within R (I understand the other way round works fine) by importing the Sage modules into Jython, which I could then interface using the rJython package. Quick and easy seems not the solution this time. |
2011-11-15 11:13:13 +0200 | commented question | from sage.all import * results in libcsage.so "cannot open shared object file" error @John Palmieri: Thanks, this was a very helpful suggestion. |
2011-11-15 10:06:33 +0200 | received badge | ● Scholar (source) |
2011-11-15 10:06:33 +0200 | marked best answer | from sage.all import * results in libcsage.so "cannot open shared object file" error What you're trying to do is in no way supported and should not work. You can't import Sage into any "random python" on your system, even with the PATHs setup. For starters the version of Python differs from the one where Sage was built, which should cause trouble. But that is just the beginning. You can do this (use the Sage Python): Also, Sage is likely to rely on modules not installed in your other Python. If there is any chance of what you're doing working by accident (and don't expect Sage to actually work well), this would be more likely to work: If you have libraries in one copy of Python that you want to use with Sage, something you can try that might work is to start Sage's python and append to its sys.path the path of the other Python. I.e., do the exact opposite of what you're trying above. |
2011-11-15 10:06:32 +0200 | received badge | ● Supporter (source) |
2011-11-10 18:58:33 +0200 | asked a question | from sage.all import * results in libcsage.so "cannot open shared object file" error I am having a problem importing sage modules into an instance of python 2.7. I succesfully untared the release binary tarball for 64-bit Ubuntu 10.04 ( http://boxen.math.washington.edu/sage... ) into After opening the python console ( However, the following: Results in: The same occurs when I try different system paths, such as Trying I have read elsewhere that Could anyone help shed light on why |