Good news guys, it works! Thanks very much for all of your advice. I first installed the new version as Jeff suggested and then installed realine by ./pip as Elisabeth and Casey said. I did followed the instruction before I updated yt to install readline under the right directory but and it said that readline was installed successfully but still didn't work. Now everything works:)<br>
<br>Cheers,<div><br></div><div>Chao<br><div class="gmail_quote">On Sat, Nov 5, 2011 at 9:57 PM,  <span dir="ltr"><<a href="mailto:yt-users-request@lists.spacepope.org">yt-users-request@lists.spacepope.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send yt-users mailing list submissions to<br>
        <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:yt-users-request@lists.spacepope.org">yt-users-request@lists.spacepope.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:yt-users-owner@lists.spacepope.org">yt-users-owner@lists.spacepope.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of yt-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Readline service not available (Chao Shi)<br>
   2. Re: Readline service not available (j s oishi)<br>
   3. Re: Readline service not available (Elizabeth Tasker)<br>
   4. Re: Readline service not available (Casey W. Stark)<br>
   5. Fwd: Readline service not available (Chao Shi)<br>
   6. Re: Fwd: Readline service not available (Casey W. Stark)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 5 Nov 2011 20:01:26 -0400<br>
From: Chao Shi <<a href="mailto:shichao116@gmail.com">shichao116@gmail.com</a>><br>
To: <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
Subject: [yt-users] Readline service not available<br>
Message-ID:<br>
        <CA+P3+n-f-rMpGUs=h59LCS8o=<a href="mailto:Fbous_VypFBak%2BHxNAoE%2B7fNA@mail.gmail.com">Fbous_VypFBak+HxNAoE+7fNA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hello everyone,<br>
<br>
I'm Chao, just started to learn how to use yt and python.<br>
<br>
After I installed yt following the instruction in the main page, when I<br>
invoke iyt<br>
or ipython, waring of "Readline Services not available on this platform"<br>
and "The<br>
auto-indent feature requires the readline library' came out.<br>
<br>
I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this<br>
version, readline<br>
is available. But I was installing yt, it seems that python2.7.1 was<br>
installed along with yt,<br>
and consequently ipython and iyt was built upon python2.7.1. I tried<br>
python2.7.1 and<br>
showed that the readline is not available, and so does iyt and ipython. I<br>
don't know whether<br>
multiple versions of python caused this problem and I don't know how to<br>
solve it. Can<br>
anyone give some guidance? I'm new to linux and I apologize if this problem<br>
is<br>
too obvious to experienced users. But I haven't found effective solution on<br>
google.<br>
<br>
Thanks,<br>
<br>
Chao<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20111105/ef5e70de/attachment-0001.htm" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20111105/ef5e70de/attachment-0001.htm</a>><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 5 Nov 2011 17:30:50 -0700<br>
From: j s oishi <<a href="mailto:jsoishi@gmail.com">jsoishi@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] Readline service not available<br>
Message-ID:<br>
        <CAAOZTN_taMC3+fxCgSHsAAiZpDm-SRJqV1h=<a href="mailto:Ld7PC9twt9AyXQ@mail.gmail.com">Ld7PC9twt9AyXQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hi Chao,<br>
<br>
Welcome to yt! My apologies for this. By using the install script, you<br>
get a complete python environment that is completely isolated from<br>
your system. This means that you can be assured if something goes<br>
wrong with the yt install, you haven't touched your system python at<br>
all. As it happens, we just fixed this problem a few days ago, and it<br>
hasn't propagated to the stable branch yet. Could you try to install<br>
from the development branch, by downloading the install script from<br>
<br>
$ wget <a href="http://hg.yt-project.org/yt/raw/yt/doc/install_script.sh" target="_blank">http://hg.yt-project.org/yt/raw/yt/doc/install_script.sh</a><br>
$ bash install_script.sh<br>
<br>
instead? This should fix your problem straight away. As it happens,<br>
Python 2.7.1 won't work on Ubuntu 11.10 very well at all. In the mean<br>
time, I will migrate the updated install script from the development<br>
branch to the stable branch.<br>
<br>
You can just delete the entire yt directory that you already<br>
installed, and it will not interfere with anything.<br>
<br>
Again, welcome to yt!<br>
<br>
Jeff<br>
<br>
On Sat, Nov 5, 2011 at 5:01 PM, Chao Shi <<a href="mailto:shichao116@gmail.com">shichao116@gmail.com</a>> wrote:<br>
> Hello everyone,<br>
> I'm Chao, just started to learn how to use yt and python.<br>
> After I installed yt following the instruction in the main page, when I<br>
> invoke iyt<br>
> or ipython, waring of "Readline Services not available on this platform" and<br>
> "The<br>
> auto-indent feature requires the readline library' came out.<br>
> I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this version,<br>
> readline<br>
> is available. But I was installing yt, it seems?that python2.7.1 was<br>
> installed along with yt,<br>
> and consequently ipython and iyt was built upon python2.7.1. I tried<br>
> python2.7.1 and<br>
> showed that the readline is not available, and so does iyt and ipython. I<br>
> don't know whether<br>
> multiple versions of python caused this problem and I don't know how to<br>
> solve it. Can<br>
> anyone give some guidance? I'm new to linux and I apologize if this problem<br>
> is<br>
> too obvious to experienced users. But I haven't found effective solution on<br>
> google.<br>
> Thanks,<br>
> Chao<br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 6 Nov 2011 09:36:32 +0900<br>
From: Elizabeth Tasker <<a href="mailto:tasker@astro1.sci.hokudai.ac.jp">tasker@astro1.sci.hokudai.ac.jp</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] Readline service not available<br>
Message-ID:<br>
        <<a href="mailto:EFE4787E-6CE4-46A3-8610-F2B1DD0B8A29@astro1.sci.hokudai.ac.jp">EFE4787E-6CE4-46A3-8610-F2B1DD0B8A29@astro1.sci.hokudai.ac.jp</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi Chao,<br>
<br>
In case Jeff's solution doesn't work, try installing readline using "pip" which is part of the yt package:<br>
<br>
~/yt/bin/pip  install readline<br>
<br>
For some reason, I get similar problems with readline even though it's blatantly on the system already.<br>
<br>
Elizabeth<br>
<br>
<br>
On 2011-11-06, at 9:01 AM, Chao Shi wrote:<br>
<br>
> Hello everyone,<br>
><br>
> I'm Chao, just started to learn how to use yt and python.<br>
><br>
> After I installed yt following the instruction in the main page, when I invoke iyt<br>
> or ipython, waring of "Readline Services not available on this platform" and "The<br>
> auto-indent feature requires the readline library' came out.<br>
><br>
> I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this version, readline<br>
> is available. But I was installing yt, it seems that python2.7.1 was installed along with yt,<br>
> and consequently ipython and iyt was built upon python2.7.1. I tried python2.7.1 and<br>
> showed that the readline is not available, and so does iyt and ipython. I don't know whether<br>
> multiple versions of python caused this problem and I don't know how to solve it. Can<br>
> anyone give some guidance? I'm new to linux and I apologize if this problem is<br>
> too obvious to experienced users. But I haven't found effective solution on google.<br>
><br>
> Thanks,<br>
><br>
> Chao<br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sat, 5 Nov 2011 18:13:04 -0700<br>
From: "Casey W. Stark" <<a href="mailto:caseywstark@gmail.com">caseywstark@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] Readline service not available<br>
Message-ID:<br>
        <<a href="mailto:CAPQaySUX31N2ECLEwpa5_686dtkAtoC2oXCqV9%2BcFC5yeCg6fw@mail.gmail.com">CAPQaySUX31N2ECLEwpa5_686dtkAtoC2oXCqV9+cFC5yeCg6fw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi all.<br>
<br>
Yeah, I've seen this a few times. GNU readline is installed by default on<br>
Ubuntu, so you should be good there (you have to get it yourself on Macs).<br>
The python package readline is the Python interface for GNU readline, see<br>
<a href="http://docs.python.org/library/readline.html" target="_blank">http://docs.python.org/library/readline.html</a>. So, even if you have python<br>
readline installed on the default (system) python site-packages, you need<br>
to install it again in your yt site-packages.<br>
<br>
Best,<br>
Casey<br>
<br>
<br>
On Sat, Nov 5, 2011 at 5:36 PM, Elizabeth Tasker <<br>
<a href="mailto:tasker@astro1.sci.hokudai.ac.jp">tasker@astro1.sci.hokudai.ac.jp</a>> wrote:<br>
<br>
> Hi Chao,<br>
><br>
> In case Jeff's solution doesn't work, try installing readline using "pip"<br>
> which is part of the yt package:<br>
><br>
> ~/yt/bin/pip  install readline<br>
><br>
> For some reason, I get similar problems with readline even though it's<br>
> blatantly on the system already.<br>
><br>
> Elizabeth<br>
><br>
><br>
> On 2011-11-06, at 9:01 AM, Chao Shi wrote:<br>
><br>
> > Hello everyone,<br>
> ><br>
> > I'm Chao, just started to learn how to use yt and python.<br>
> ><br>
> > After I installed yt following the instruction in the main page, when I<br>
> invoke iyt<br>
> > or ipython, waring of "Readline Services not available on this platform"<br>
> and "The<br>
> > auto-indent feature requires the readline library' came out.<br>
> ><br>
> > I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this<br>
> version, readline<br>
> > is available. But I was installing yt, it seems that python2.7.1 was<br>
> installed along with yt,<br>
> > and consequently ipython and iyt was built upon python2.7.1. I tried<br>
> python2.7.1 and<br>
> > showed that the readline is not available, and so does iyt and ipython.<br>
> I don't know whether<br>
> > multiple versions of python caused this problem and I don't know how to<br>
> solve it. Can<br>
> > anyone give some guidance? I'm new to linux and I apologize if this<br>
> problem is<br>
> > too obvious to experienced users. But I haven't found effective solution<br>
> on google.<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Chao<br>
> > _______________________________________________<br>
> > yt-users mailing list<br>
> > <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20111105/4e5b76b2/attachment-0001.htm" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20111105/4e5b76b2/attachment-0001.htm</a>><br>

<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Sat, 5 Nov 2011 21:19:52 -0400<br>
From: Chao Shi <<a href="mailto:shichao116@gmail.com">shichao116@gmail.com</a>><br>
To: <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
Subject: [yt-users] Fwd: Readline service not available<br>
Message-ID:<br>
        <<a href="mailto:CA%2BP3%2Bn_G3OsY8waot575wsw2vTqbKNRekYX0sLT3z4n8OLwkUA@mail.gmail.com">CA+P3+n_G3OsY8waot575wsw2vTqbKNRekYX0sLT3z4n8OLwkUA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
BTW, I already tried the method in the FAQ<br>
<a href="http://yt-project.org/doc/faq.html#i-can-t-scroll-up-to-previous-commands-inside-iyt" target="_blank">http://yt-project.org/doc/faq.html#i-can-t-scroll-up-to-previous-commands-inside-iyt</a>,<br>
but it still dosen't work.<br>
<br>
---------- Forwarded message ----------<br>
From: Chao Shi <<a href="mailto:shichao116@gmail.com">shichao116@gmail.com</a>><br>
Date: Sat, Nov 5, 2011 at 8:01 PM<br>
Subject: Readline service not available<br>
To: <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<br>
<br>
Hello everyone,<br>
<br>
I'm Chao, just started to learn how to use yt and python.<br>
<br>
After I installed yt following the instruction in the main page, when I<br>
invoke iyt<br>
or ipython, waring of "Readline Services not available on this platform"<br>
and "The<br>
auto-indent feature requires the readline library' came out.<br>
<br>
I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this<br>
version, readline<br>
is available. But I was installing yt, it seems that python2.7.1 was<br>
installed along with yt,<br>
and consequently ipython and iyt was built upon python2.7.1. I tried<br>
python2.7.1 and<br>
showed that the readline is not available, and so does iyt and ipython. I<br>
don't know whether<br>
multiple versions of python caused this problem and I don't know how to<br>
solve it. Can<br>
anyone give some guidance? I'm new to linux and I apologize if this problem<br>
is<br>
too obvious to experienced users. But I haven't found effective solution on<br>
google.<br>
<br>
Thanks,<br>
<br>
Chao<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20111105/316b14c8/attachment-0001.htm" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20111105/316b14c8/attachment-0001.htm</a>><br>

<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Sat, 5 Nov 2011 18:50:52 -0700<br>
From: "Casey W. Stark" <<a href="mailto:caseywstark@gmail.com">caseywstark@gmail.com</a>><br>
To: Discussion of the yt analysis package<br>
        <<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>><br>
Subject: Re: [yt-users] Fwd: Readline service not available<br>
Message-ID:<br>
        <CAPQaySV-T7CATUrvguubUCKd=7vxb_+=<a href="mailto:9fohy6HAWWsU6P0erg@mail.gmail.com">9fohy6HAWWsU6P0erg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Chao.<br>
<br>
Are you certain that this command installed readline to your yt python<br>
environment? I'm not certain how pip determines which python site-packages<br>
to install to, but I think it depends on PYTHONPATH/PYTHONHOME. Anyone know<br>
about this?<br>
<br>
I recommend...<br>
<br>
$ source /path/to/yt/bin/activate<br>
$ pip install readline<br>
<br>
You can check that it installed to the right place by navigating to<br>
/path/to/yt/lib/python2.7/site-packages/ and seeing if the readline package<br>
is there. If it is there and still doesn't work, then this is really<br>
weird...<br>
<br>
Either way, we should fix this line of the docs because it assumes yt is<br>
installed to ~/yt and it doesn't say anything about setting env vars or<br>
using activate. Something like /path/to/yt?<br>
<br>
Best,<br>
Casey<br>
<br>
<br>
On Sat, Nov 5, 2011 at 6:19 PM, Chao Shi <<a href="mailto:shichao116@gmail.com">shichao116@gmail.com</a>> wrote:<br>
<br>
> BTW, I already tried the method in the FAQ<br>
> <a href="http://yt-project.org/doc/faq.html#i-can-t-scroll-up-to-previous-commands-inside-iyt" target="_blank">http://yt-project.org/doc/faq.html#i-can-t-scroll-up-to-previous-commands-inside-iyt</a>,<br>
> but it still dosen't work.<br>
><br>
><br>
> ---------- Forwarded message ----------<br>
> From: Chao Shi <<a href="mailto:shichao116@gmail.com">shichao116@gmail.com</a>><br>
> Date: Sat, Nov 5, 2011 at 8:01 PM<br>
> Subject: Readline service not available<br>
> To: <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
><br>
><br>
> Hello everyone,<br>
><br>
> I'm Chao, just started to learn how to use yt and python.<br>
><br>
> After I installed yt following the instruction in the main page, when I<br>
> invoke iyt<br>
> or ipython, waring of "Readline Services not available on this platform"<br>
> and "The<br>
> auto-indent feature requires the readline library' came out.<br>
><br>
> I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this<br>
> version, readline<br>
> is available. But I was installing yt, it seems that python2.7.1 was<br>
> installed along with yt,<br>
> and consequently ipython and iyt was built upon python2.7.1. I tried<br>
> python2.7.1 and<br>
> showed that the readline is not available, and so does iyt and ipython. I<br>
> don't know whether<br>
> multiple versions of python caused this problem and I don't know how to<br>
> solve it. Can<br>
> anyone give some guidance? I'm new to linux and I apologize if this<br>
> problem is<br>
> too obvious to experienced users. But I haven't found effective solution<br>
> on google.<br>
><br>
> Thanks,<br>
><br>
> Chao<br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20111105/c158c678/attachment.htm" target="_blank">http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20111105/c158c678/attachment.htm</a>><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
<br>
End of yt-users Digest, Vol 45, Issue 6<br>
***************************************<br>
</blockquote></div><br></div>