Benjamin Grant wrote: > Hi all, I'd greatly appreciate any help. I 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
If you want Python 2.4 on Ubuntu, you should just install the "python2.4" package (with, e.g. apt-get), rather than trying to compile it. Doing so should resolve the dependency problems using the package manager. For one thing, I'm pretty sure that the Ubuntu standard package is going to have readline included. If you must compile the hplip package, and it needs to build Python extensions, then you will likely need to also install the package "python2.4-dev" (which will include the C headers and stuff that dependent packages will need to compile). That should be a whole lot easier than trying to recompile Python with readline support on Ubuntu yourself (the package managers have probably done the work for you). I only say 'probably' because I'm guessing this from knowing Debian, which Ubuntu is based on, and guessing that no one would go out of their way to *remove* readline support. Cheers, Terry -- Terry Hancock ([EMAIL PROTECTED]) Anansi Spaceworks http://www.AnansiSpaceworks.com -- http://mail.python.org/mailman/listinfo/python-list