Ask Your Question

lharris's profile - activity

2012-01-15 04:16:55 -0600 received badge  Teacher (source)
2012-01-15 04:16:55 -0600 received badge  Necromancer (source)
2012-01-14 17:55:49 -0600 answered a question Install problem app on mac os x

I had this same problem when trying to run Sage. My problem arose because the standard OS X python is being called instead of Sage's python, because the install script puts the path to Sage's executables AFTER /usr/bin/ in the $PATH variable.

My work-around was to open a new terminal window and enter the following two lines:

export PATH=/Applications/Sage-4.7.2-OSX-64bit-10.6.app/Contents/Resources/:$PATH
'/Applications/Sage-4.7.2-OSX-64bit-10.6.app/Contents/Resources/sage/'/sage --notebook

This presumes you are running BASH, which is what recent versions of OS X use by default, and that you are running the Sage-4.7.2-OSX-64bit-10.6.app version of Sage; change the path to your Sage installation if you are using a different version. (I got the idea to do this from this posting on a mailing list.)