Hi Chao, This is a stab in the dark, but do you have the libncurses5-dev package installed? If not, can you try doing: sudo apt-get install libncurses5-dev and then retry pip install readline. I'm unfortunately not running Kubuntu so I can't reproduce your issue. -Nathan On May 27, 2012, at 12:34 AM, Chao Shi wrote:
Hi,
Recently I changed my OS from ubuntu to Kubuntu 12.04 LTS so I re-installed yt, and the old readline problem comes up again:
While I'm in the script environment of python that comes with yt, the readline service is not available.(That's why I pulled out this old message).
I followed all the suggestions from this email which helped me solved this problem previously, but it doesn't work this time:
First I followed Elizabeth and Casey's suggestion tried to pip install readline, but it keeps saying "libncurses.a: could not read symbols: Bad value" and then "error: gcc fails and exit with status 1".
After searching for a quite a while without any luck on web, I tried to build readline directly in ~/yt-x86_64/lib/python2.7/site-packages, guessing that might work. But it turned out still not working.
Can anyone help me out with this?
Thanks a lot,
Chao
On Sat, Nov 5, 2011 at 9:57 PM, <yt-users-request@lists.spacepope.org> wrote: Send yt-users mailing list submissions to yt-users@lists.spacepope.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org or, via email, send a message with subject or body 'help' to yt-users-request@lists.spacepope.org
You can reach the person managing the list at yt-users-owner@lists.spacepope.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of yt-users digest..."
Today's Topics:
1. Readline service not available (Chao Shi) 2. Re: Readline service not available (j s oishi) 3. Re: Readline service not available (Elizabeth Tasker) 4. Re: Readline service not available (Casey W. Stark) 5. Fwd: Readline service not available (Chao Shi) 6. Re: Fwd: Readline service not available (Casey W. Stark)
----------------------------------------------------------------------
Message: 1 Date: Sat, 5 Nov 2011 20:01:26 -0400 From: Chao Shi <shichao116@gmail.com> To: yt-users@lists.spacepope.org Subject: [yt-users] Readline service not available Message-ID: <CA+P3+n-f-rMpGUs=h59LCS8o=Fbous_VypFBak+HxNAoE+7fNA@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Hello everyone,
I'm Chao, just started to learn how to use yt and python.
After I installed yt following the instruction in the main page, when I invoke iyt or ipython, waring of "Readline Services not available on this platform" and "The auto-indent feature requires the readline library' came out.
I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this version, readline is available. But I was installing yt, it seems that python2.7.1 was installed along with yt, and consequently ipython and iyt was built upon python2.7.1. I tried python2.7.1 and showed that the readline is not available, and so does iyt and ipython. I don't know whether multiple versions of python caused this problem and I don't know how to solve it. Can anyone give some guidance? I'm new to linux and I apologize if this problem is too obvious to experienced users. But I haven't found effective solution on google.
Thanks,
Chao