[sage-devel] Re: sage+bpython

2010-08-18 Thread Jay
Success! Reinstalled the package and was able to easy_install bpython after doing $ chown -R /opt/sage $ sage -sh $ easy_install bpython $ /opt/sage/local/bin/bpython >>> from sage.all import * Don't know why it's still finding /usr/bin/bpython before the one within sage even though $PATH has /

Re: [sage-devel] Re: sage+bpython

2010-08-18 Thread François Bissey
> Here's the full traceback for easy_install bpython too, just in case: > > SAGE_ROOT=/opt/sage\n(sage subshell) \h:\W \u$ sudo !! > sudo easy_install bpython > Password: > Traceback (most recent call last): > File "/opt/sage/local/bin/easy_install", line 8, in > load_entry_point('setuptool

[sage-devel] Re: sage+bpython

2010-08-18 Thread Jay
Here's the full traceback for easy_install bpython too, just in case: SAGE_ROOT=/opt/sage\n(sage subshell) \h:\W \u$ sudo !! sudo easy_install bpython Password: Traceback (most recent call last): File "/opt/sage/local/bin/easy_install", line 8, in load_entry_point('setuptools==0.6c9', 'cons

[sage-devel] Re: sage+bpython

2010-08-18 Thread Jay
> Do you have any extra environment variables set?  (Did you change your > PATH or PYTHONPATH while you were in the Sage subshell?)  In your sage > subshell, what do you get if you type: > which python > which easy_install > ? Dropping straight into a subshell and entering those I get: $ which bp

Re: [sage-devel] Re: sage+bpython

2010-08-18 Thread François Bissey
> he's on an experimental Gentoo > distribution of Sage, that most probably uses the system Python rather > than the Sage's Python. > So this means that the system Python needs to be rebuilt, probably > Hi, I am one of the two sage-on-gentoo dev. I actually tried it on s-o-g without trouble. I ha

[sage-devel] Re: sage+bpython

2010-08-18 Thread Dima Pasechnik
he's on an experimental Gentoo distribution of Sage, that most probably uses the system Python rather than the Sage's Python. So this means that the system Python needs to be rebuilt, probably On Aug 18, 2:33 am, Carl Witty wrote: > On Mon, Aug 16, 2010 at 1:22 PM, Jay wrote: > > Hi! > > > Yes,

Re: [sage-devel] Re: sage+bpython

2010-08-17 Thread Carl Witty
On Mon, Aug 16, 2010 at 1:22 PM, Jay wrote: > Hi! > > Yes, bpython is quite wonderful :). > > If I try to `easy_install bpython` from within a sage subshell I get > > ... (Full traceback if you'd like) > ImportError: /opt/sage/local/lib/python2.6/lib-dynload/operator.so: > undefined symbol: _PyUni

[sage-devel] Re: sage+bpython

2010-08-16 Thread Jay
Sure! Sorry about that. I'm running Arch Linux with a sage from the i386 binary here: http://pkgbuild.com/~td123/ which is 4.5.2-5 (it's the candidate build for inclusion in the arch repos, though it hasn't been distributed *blush*). I'd previously built it from source but had a hiccup, so I'm u

Re: [sage-devel] Re: sage+bpython

2010-08-16 Thread William Stein
On Mon, Aug 16, 2010 at 1:22 PM, Jay wrote: > Hi! > > Yes, bpython is quite wonderful :). > > If I try to `easy_install bpython` from within a sage subshell I get > > ... (Full traceback if you'd like) > ImportError: /opt/sage/local/lib/python2.6/lib-dynload/operator.so: > undefined symbol: _PyUni

[sage-devel] Re: sage+bpython

2010-08-16 Thread Jay
Hi! Yes, bpython is quite wonderful :). If I try to `easy_install bpython` from within a sage subshell I get ... (Full traceback if you'd like) ImportError: /opt/sage/local/lib/python2.6/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS4_AsDefaultEncodedString which incidentally is the s