python readline error - please help - need it for scanner!

Frederic Wenzel fred at osuosl.org
Fri Sep 8 21:29:12 EDT 2006


On 9/8/06, benjamin.grant at duke.edu <benjamin.grant at duke.edu> wrote:
> can configure, make and install
> everything fine.  I'm using python 2.4  I have ubuntu dapper drake. I am
> trying to install hplip which requires python.  When I do this, this
> also works but while running the following error occurs:
> Traceback (most recent call last):
>   File "/usr/local/bin/hp-setup", line 31, in ?
>     import readline, gzip
> ImportError: No module named readline
>
>
> It appears as though for some reaosn the readline module is not being
> installed on my system.

I suggest you uninstall python from your system:

sudo apt-get remove python

and reinstall it. Maybe something went wrong the first time you tried
(reboot while installing or other crazy things).

The python packages coming with Ubuntu are working pretty well, usually.

Fred



More information about the Python-list mailing list