>>
>
> [python]$ pythonbrew use 2.5.6
> Using `Python-2.5.6`
>
> [python]$ echo $PYTHONPATH
> /Users/alex/.pythonbrew/pythons/Python-2.5.6/lib
>
> [python]$ python2.5 -c "import curses"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File
> "/Users/alex/.pythonbrew/pythons/Python-2.5.6/lib/python2.5/curses/__init__.py",
> line 15, in <module>
>     from _curses import *
> ImportError: No module named _curses
I can't help you with pythonbrew, I never tried it.

What I think that's happening, is that pythonbrew symlinks a new lib/
directory to your /usr/lib/python2.5, but forgets about *.so files; in
that case, adding
"/System/Library/Frameworks/Python.framework/Versions/2.5//lib/python2.5/lib-dynload/"
to your $PYTHONPATH should work.

-- 
ù

-- 
You received this message because you are subscribed to the Google Groups 
"bpython" group.
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