On Dec 10, 2007, at 14:35 , William Stein wrote:
> > Hi, > > I think this pythonw thing works for me only because I'm on osx and > there is a > /usr/bin/pythonw, which means "run python with a gui", so it is > running a system-wide > python. However, because I did "sage -sh", I'm still getting the > packages installed > into sage, e.g., pyglet and sympy. FWIW, it appears that 'sage -sh' isn't doing the job I think it should: $ echo $PATH .:/usr/texbin:/Users/justin/bin:/usr/local/bin:/bin: ... $ ./sage -sh Starting subshell with Sage environment variables set: $ echo $PATH .:/usr/texbin:/Users/justin/bin:/usr/local/bin:/bin: ... $ exit Exited Sage subshell. The PATH variable is the same before and after invoking the shell. Shouldn't "$SAGE_ROOT/local/bin" be in there? This works better (I hand-edited and truncated the output to keep from overwhelming the reader): $ . local/bin/sage-env $ echo $PATH $SAGE_ROOT/local/Frameworks/Python.framework/Versions/2.5/bin: $SAGE_ROOT:.:/usr/texbin:/Users/justin/bin:/usr/local/bin:/bin: ... but $SAGE_ROOT/local/bin is still missing. Also, I have no "pythonw" anywhere in $SAGE_ROOT. There is one in "/usr/bin", from Apple (a symlink to the default python2.3). This is a fresh build of 2.9.alpha4. I get the same behavior for 2.8.1[45] (2.8.8.1 complains about "-sh"). Justin -- Justin C. Walker, Curmudgeon-at-Large () The ASCII Ribbon Campaign /\ Help Cure HTML Email --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---