Ask Your Question
0

Previously working SAGE install broke

asked 2012-12-04 15:40:04 +0200

dngraph gravatar image

Hello,

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

Comments

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 15:54:49 +0200 )edit

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

kcrisman gravatar imagekcrisman ( 2012-12-05 11:00:32 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-10-28 04:05:31 +0200

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

Stats

Asked: 2012-12-04 15:40:04 +0200

Seen: 336 times

Last updated: Oct 28 '13