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: Mon, 30 Jan 2012 09:41:02
Message-Id: 20120130013853.59b30833@dartworks.biz
In Reply to: Re: [gentoo-user] Python+readline? by Walter Dnes
1 On Mon, 30 Jan 2012 02:25:30 -0500
2 "Walter Dnes" <waltdnes@××××××××.org> wrote:
3
4 > On Sun, Jan 29, 2012 at 10:42:47PM -0800, Keith Dart wrote
5 > > On Sat, 28 Jan 2012 04:01:40 -0500
6 > > "Walter Dnes" <waltdnes@××××××××.org> wrote:
7 > >
8 > > > I've enabled the readline flag for the python build, but it
9 > > > doesn't seem to work. Are there any other settings I'm missing?
10 > > >
11 > >
12 > > What happens when you "import readline" ?
13 >
14 > waltdnes@d530 ~ $ python
15 > Python 2.7.2 (default, Dec 14 2011, 00:09:44)
16 > [GCC 4.5.3] on linux2
17 > Type "help", "copyright", "credits" or "license" for more information.
18 > >>> import readline
19 > Traceback (most recent call last):
20 > File "<stdin>", line 1, in <module>
21 > ImportError: No module named readline
22 > >>>
23 >
24 >
25
26 ok, how about the output of:
27
28 emerge -pv dev-lang/python:2.7
29
30 Did you do something with the readline library?
31
32
33 --
34
35 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 Keith Dart <keith@×××××××××.biz>
37 public key: ID: 19017044
38 <http://www.dartworks.biz/>
39 =====================================================================

Replies

Subject Author
Re: [gentoo-user] Python+readline? Walter Dnes <waltdnes@××××××××.org>
[gentoo-user] [SOLVED] Python+readline? Walter Dnes <waltdnes@××××××××.org>