Ipython no readline available and pip install readline error

前端 未结 3 475
甜味超标
甜味超标 2020-12-29 01:41

I installed ipython but it doesn\'t have the readline option. I first downloaded gnu readline and compiled and installed. DIdn\'t know whether it was a proper solution but w

3条回答
  •  滥情空心
    2020-12-29 02:13

    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-dev
    sudo apt-get install libncurses5-dev
    sudo pip install readline
    

提交回复
热议问题