realine not found error

Peter Otten __peter__ at web.de
Tue Aug 1 02:27:39 EDT 2006


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

You may have to install the readline-devel package and the rebuild Python.

Peter




More information about the Python-list mailing list