Unable to make python work properly

B

Benjamin Grant

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




It appears as though for some reaosn the readline module is not being
installed on my system. Also, it doesn't really seem like python could
possibly be being installed correctly. If I go to python tools and try
to run ./listmodules I get the following error:

File "/usr/lib/python2.4/doc/tools/listmodules", line 183, in ?
main()
File "/usr/lib/python2.4/doc/tools/listmodules", line 119, in main
os.chdir("Modules")
OSError: [Errno 2] No such file or directory: 'Modules'
Any tool i try to run in the python/doc folder gives me error messages. Any thoughts on why
this is not working at all? I'd gladly erase everything w/ regards to python
and start over if that would help, but i'm unsure how to do that. Thanks for the help
Ben
 
M

Marc 'BlackJack' Rintsch

Benjamin Grant said:
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

`hplip` is available as package in the Ubuntu repositories. Why do you
install it from sources?
It appears as though for some reaosn the readline module is not being
installed on my system.

It's a dependency of the Python packages. That's odd.

Ciao,
Marc 'BlackJack' Rintsch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top