David Bear wrote: > I built python 2.4.2 for suse linux 9.3. I configured it to be a separate > instance of python from the version packaged with suse. > > Now when I start it I get an error: > python > Python 2.4.2 (#4, Jul 27 2006, 14:34:30) > [GCC 3.3.5 20050117 (prerelease) (SUSE Linux)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > Traceback (most recent call last): > File "/etc/pythonstart", line 7, in ? > import readline > ImportError: No module named readline > > however, I do have readline installed: > > rpm -qa | grep readline > readline-5.0-7.2 > readline-32bit-9.3-7.1 > > it id truly does exist: > > locate readline > ... > /lib/libreadline.so.5 > /lib/libreadline.so.5.0 > /lib64/libreadline.so.5 > /lib64/libreadline.so.5.0
However, these are not the Python readline module. The Suse package for it is probably called python-readline or something like that. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list