<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Out of interest, how much of a bad idea would it be to provide an
option to install yt to the default pythonpath? I looked at it in
the past but didn't get particularly far (installing dependencies is
not something that's particularly my forte...)<br>
<br>
On 06/11/11 02:50, Casey W. Stark wrote:
<blockquote
cite="mid:CAPQaySV-T7CATUrvguubUCKd=7vxb_+=9fohy6HAWWsU6P0erg@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
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 moz-do-not-send="true"
href="mailto:shichao116@gmail.com">shichao116@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">BTW, I already tried the method in the
FAQ <a moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a moz-do-not-send="true"
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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
yt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a>
<a class="moz-txt-link-freetext" href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a>
</pre>
</blockquote>
<br>
</body>
</html>