Ask Your Question

John Smith's profile - activity

2013-05-09 23:58:40 +0200 received badge  Famous Question (source)
2012-06-06 08:49:12 +0200 received badge  Notable Question (source)
2012-04-20 15:34:54 +0200 received badge  Popular Question (source)
2012-03-06 21:27:34 +0200 commented answer Sage on Mac Os X lion

@IvanAndrus: I've added the environment to the question. (btw, it's interesting that you underestimate my ability to open Terminal, but expect me to be able to run env, just an observation)

2012-03-06 09:31:40 +0200 received badge  Student (source)
2012-03-05 23:56:31 +0200 received badge  Supporter (source)
2012-03-05 23:54:16 +0200 received badge  Editor (source)
2012-03-05 23:35:05 +0200 asked a question Sage on Mac Os X lion

I am trying to run sage on Lion I have downloaded the Sage 4.8 app version. When I try to run it it fails to start.

When I try to run a terminal version it says

/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/sage; exit

----------------------------------------------------------------------
| Sage Version 4.8, Release Date: 2012-01-20                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/bin/sage-ipython", line 18, in <module>
import IPython
ImportError: No module named IPython
logout

[Process completed]

I have installed python-2.7 and used easy_script to install deadline and python as shown in this question: http://ask.sagemath.org/question/740/...

How can I fix this?

ADDENDUM:

I have restarted terminal as Ivan Andrus suggested. It's still the same issue. The env is

AS=as
AR=ar
LDFLAGS=
TERM_PROGRAM=Apple_Terminal
RHOME=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/lib/R
UNAME=Darwin
ECLDIR=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/lib/ecl/
TERM=xterm-256color
SAGE_SERVER=http://www.sagemath.org/
SAGE_ORIG_LD_LIBRARY_PATH_SET=True
SHELL=/bin/bash
SAGE_DATA=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/data
SAGE_ENV_SOURCED=1
HGENCODING=utf8
TMPDIR=/var/folders/15/tkpptkzn4xd90grldw4v6pd40000gn/T/
LIBRARY_PATH=/Applications/Sage-4.8-OSX-64bit- 10.6.app/Contents/Resources/sage/local/lib/
MKDIR=mkdir
Apple_PubSub_Socket_Render=/tmp/launch-g7XJ8H/Render
TERM_PROGRAM_VERSION=299
TERM_SESSION_ID=1385579C-9774-4175-A784-C41ED683ADA1
SAGE_NUM_THREADS=1
DOT_SAGE=/Users/lbundle/.sage/
USER=lbundle
SINGULAR_EXECUTABLE=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/bin/Singular
COMMAND_MODE=unix2003
HGPLAIN=yes
SAGE_ORIG_DYLD_LIBRARY_PATH_SET=True
SSH_AUTH_SOCK=/tmp/launch-Eg1jHu/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
SAGE_LOCAL=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local
MPLCONFIGDIR=/Users/lbundle/.sage//matplotlib-1.0.1
MAXIMA_PREFIX=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local
SAGE_STARTUP_FILE=/Users/lbundle/.sage//init.sage
PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/Frameworks/Python.framework/Versions/2.5/bin:/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage:/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/bin
LD=ld
PWD=/Users/lbundle
MV=mv
LANG=en_US.UTF-8
__sage__=
SAGE_ROOT=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage
PYTHONHOME=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local
SAGE_PACKAGES=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/spkg
CP=cp
LN=ln
CXX=g++
SHLVL=3
HOME=/Users/lbundle
MAKE=make
MACOSX_DEPLOYMENT_TARGET=10.7
PYTHONPATH=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/lib/python
SAGE_ORIG_LD_LIBRARY_PATH=
LOGNAME=lbundle
GPHELP=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/bin/gphelp
SAGE_ORIG_DYLD_LIBRARY_PATH=
SAGE_DOC=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/devel/sage/doc
PKG_CONFIG_PATH=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/lib/pkgconfig
RANLIB=ranlib
SINGULARPATH=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/share/singular
CC=gcc
DISPLAY=/tmp/launch-hEl27Z/org.x:0
CHMOD=chmod
SAGE_NUM_THREADS_PARALLEL=8
GP_DATA_DIR=/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/share/pari
SAGE_TESTDIR=/Users ...
(more)