My mistake... the system I'm having troubles installing bpython is actually 
a 10.7.5:

ProductName: Mac OS X
ProductVersion: 10.7.5
BuildVersion: 11G56

and Python 2.5.6 was installed through Pythonbrew.

Interestingly bpython works correctly on the same system with Python 2.7.3 
installed through Pythonbrew. 

As far homebrew goes, I couldn't find anything "curses" :-).

A://

On Tuesday, September 25, 2012 12:47:44 PM UTC-7, Michele Orrù wrote:
>
> >> I've got bpython running on my Mac OS X 10.8.2 with Python 2.7.3. I 
> also 
> >> installed it for Python 2.5.6, but when running bpython I get an 
> exception 
> >> and it doesn't start: 
>
> > You need to install curses on your homebrew Python. I don't know much 
> > about OS X but I think on my MacBook system Python already has this 
> > installed. So if you're using a custom Python I guess you'll need to 
> > install the headers for ncurses (the C library) and then build Python 
> > against that. 
>
> It is pre-installed. 
> $ sw_vers 
> ProductName:        Mac OS X 
> ProductVersion:        10.8.2 
> BuildVersion:        12C54 
> $ python2.5 
> Python 2.5.6 (r256:88840, Jun 20 2012, 16:23:17) 
> [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on 
> darwin 
> Type "help", "copyright", "credits" or "license" for more information. 
> >>> import curses 
> >>> import _curses 
> >>> 
>
> The quickest workaround that right now comes to my mind is to try 
> installing an official version of python[0], for example 
> http://python.org/ftp/python/2.7.3/python-2.7.3-macosx10.6.dmg 
>
> [0] http://python.org/download 
> -- 
> ù 
>

-- 
You received this message because you are subscribed to the Google Groups 
"bpython" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/bpython/-/00MUnoFakycJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/bpython?hl=en.

Reply via email to