Gentoo Archives: gentoo-user

From: Keith Dart <keith@×××××××××.biz>
To: gentoo-user@l.g.o
Cc: waltdnes@××××××××.org
Subject: Re: [gentoo-user] Python+readline?
Date: Tue, 31 Jan 2012 08:20:32
Message-Id: 20120131001816.6b940b14@dartworks.biz
In Reply to: Re: [gentoo-user] Python+readline? by Walter Dnes
1 On Mon, 30 Jan 2012 22:38:55 -0500
2 "Walter Dnes" <waltdnes@××××××××.org> wrote:
3
4 > The emerge output shows that python would be replaced, and that the
5 > "readline" USE flag has been set on the previous merge. I also ran
6 > revdep-rebuild, and it found nothing. The python command "modules",
7 > from inside the interactive "help()" command shows a ton of modules,
8 > but not "readline". Now what?
9
10 That's very odd.
11
12 Try this:
13
14 $ find /usr/lib/python2.7 -name "readline*" -print
15
16 And see if you get this:
17
18 /usr/lib/python2.7/lib-dynload/readline.so
19
20
21 also, "which python", in case you might have another one installed...
22
23 and what is sys.path?
24
25 Does sys.path contain '/usr/lib64/python2.7/lib-dynload'?
26
27
28
29 --
30
31 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 Keith Dart <keith@×××××××××.biz>
33 public key: ID: 19017044
34 <http://www.dartworks.biz/>
35 =====================================================================