Ask Your Question

Previously working SAGE install broke

asked 2012-12-04 08:40:04 -0500

dngraph gravatar image


Sage was working for me about a month ago. I had not used it until yesterday, and when I tried using the sage command in my Ubuntu 12.04 terminal I receive the following error

/usr/bin/sage: line 118: cd: /usr/lib/sage: No such file or directory
/usr/bin/sage: cannot determine SAGE_ROOT directory

I tried everything I could think of and google. I have tried reinstalling libc6-i386 and the ia32-libs but that does not seem to be the reason. My computer is otherwise working well without any other programs (perhaps I've yet to notice) malfunctioning. It doesn't seem like this is a 32-bit vs 64-bit issue.

Of course, I checked both locations and the files are there. I have also reinstalled sage a few times, and the issue remains.

Thank you!

edit retag flag offensive close merge delete


As I pointed out on stackoverflow, this isn't a typical location for Sage. Have you tried installing it in a "normal" directory (equivalent to a desktop, say)? Also, is there any more traceback? (I assume not, just checking.)

kcrisman gravatar imagekcrisman ( 2012-12-04 08:54:49 -0500 )edit

This has been answered at - @dngraph had previously had a symlink in `/usr/bin` for this and something in an rc file. Yay!

kcrisman gravatar imagekcrisman ( 2012-12-05 04:00:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-27 22:05:31 -0500

Xrobot gravatar image

Have you tried building sage from source, in say Desktop or any other ~ directory. using python-dev?. sudo apt-get install python-dev gcc

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: 2012-12-04 08:40:04 -0500

Seen: 120 times

Last updated: Oct 27 '13