Ipython no readline available and pip install readline error Ipython no readline available and pip install readline error python python

Ipython no readline available and pip install readline error


tmaric is right. I had the same problem while installing iPython (Ubuntu 12.10, quantal, 32-bit). I was missing the dev version of the ncurses5 library. Try:

sudo apt-get install libncurses5-dev

and then installing the readline module again through pip

pip install readline


You have a linker error: library ncurses is not installed, or it is installed and the linker is searching for the wrong object file.

What platform/operating system are you using?

If you're running Linux/Unix, try:

locate libncurses

to see if the library is installed. If there are no libncurses*.{o,so,so.[0-9].[0-9]} files on your system, just install the library, and the readline. If there are some, then check which one is searched for by the readline compilation process, it could be that you just have to make a symbolic link, naming the library file properly.


I had the same issue with my Ubuntu 14.04 install trying to get some python libraries installed. iPython I believe requires readline which was failing for me until I ran the following commands.

sudo apt-get install python-devsudo apt-get install libncurses5-devsudo pip install readline