Hi Chao.<div><br></div><div>Are you certain that this command installed readline to your yt python environment? I'm not certain how pip determines which python site-packages to install to, but I think it depends on PYTHONPATH/PYTHONHOME. Anyone know about this?</div>

<div><br></div><div>I recommend...</div><div><br></div><div>$ source /path/to/yt/bin/activate</div><div>$ pip install readline</div><div><br></div><div>You can check that it installed to the right place by navigating to /path/to/yt/lib/python2.7/site-packages/ and seeing if the readline package is there. If it is there and still doesn't work, then this is really weird...</div>

<div><br></div><div>Either way, we should fix this line of the docs because it assumes yt is installed to ~/yt and it doesn't say anything about setting env vars or using activate. Something like /path/to/yt?</div><div>

<br></div><div>Best,</div><div>Casey</div><div><br><br><div class="gmail_quote">On Sat, Nov 5, 2011 at 6:19 PM, Chao Shi <span dir="ltr"><<a href="mailto:shichao116@gmail.com">shichao116@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">BTW, I already tried the method in the FAQ <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>, but it still dosen't work.<div class="HOEnZb">

<div class="h5"><br>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Chao Shi</b> <span dir="ltr"><<a href="mailto:shichao116@gmail.com" target="_blank">shichao116@gmail.com</a>></span><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" target="_blank">yt-users@lists.spacepope.org</a><br><br><br>Hello everyone,<div><br></div><div>I'm Chao, just started to learn how to use yt and python.  </div>



<div><br></div><div>After I installed yt following the instruction in the main page, when I invoke iyt</div><div>or ipython, waring of "Readline Services not available on this platform" and "The</div>
<div>auto-indent feature requires the readline library' came out.</div><div><br></div><div>I'm using Ubuntu11.10 shipped with python2.7.2+ and when I run this version, readline</div><div>is available. But I was installing yt, it seems that python2.7.1 was installed along with yt,</div>




<div>and consequently ipython and iyt was built upon python2.7.1. I tried python2.7.1 and</div><div>showed that the readline is not available, and so does iyt and ipython. I don't know whether </div><div>multiple versions of python caused this problem and I don't know how to solve it. Can</div>




<div>anyone give some guidance? I'm new to linux and I apologize if this problem is </div><div>too obvious to experienced users. But I haven't found effective solution on google.</div><div><br></div><div>Thanks,</div>




<div><br></div><font color="#888888"><div>Chao</div>
</font></div><br>
</div></div><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></blockquote></div><br></div>