On Jan 31, 2012 10:43 AM, "Walter Dnes" <waltd...@waltdnes.org> wrote:
>
> On Mon, Jan 30, 2012 at 01:38:53AM -0800, Keith Dart wrote
>
> > ok, how about the output of:
> >
> > emerge -pv dev-lang/python:2.7
> >
> > Did you do something with the readline library?
>
>  I hate multi-slot.  I added readline to dev-lang/python in
> /etc/portage/package.use, and then ran "emerge -1 python"... which
> proceeded to update python 3.1, but *NOT* python 2.7.  After I did...
>
> emerge -1 =dev-lang/python-2.7.2-r3 =dev-lang/python-3.1.4-r3
>
> I got the same error, even after rebuilding.
>
> =============================================================
> waltdnes@d530 ~ $ emerge -pv python:2.7
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild   R    ] dev-lang/python-2.7.2-r3  USE="readline ssl threads
(wide-unicode) xml -berkdb -build -doc -examples -gdbm -ipv6 -ncurses
-sqlite -tk -wininst" 0 kB
>
> Total: 1 package (1 reinstall), Size of downloads: 0 kB
> waltdnes@d530 ~ $ python
> Python 2.7.2 (default, Jan 30 2012, 19:42:20)
> [GCC 4.5.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import readline
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> ImportError: No module named readline
> >>>
> =============================================================
>
>  The emerge output shows that python would be replaced, and that the
> "readline" USE flag has been set on the previous merge.  I also ran
> revdep-rebuild, and it found nothing.  The python command "modules",
> from inside the interactive "help()" command shows a ton of modules, but
> not "readline".  Now what?
>

Have you run python-updater?

Rgds,

Reply via email to