leinad
leinad

Reputation: 420

Previously working SAGE install broke

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!

Upvotes: 0

Views: 258

Answers (1)

power
power

Reputation: 331

Try to run sage this way:

export SAGE_ROOT=<dir where sage archive was extracted, e.g. /home/daniel/sage>
sage

If it works, you should find why SAGE_ROOT var doesn't set. If not, post error message if it changes.

Upvotes: 1

Related Questions