[yt-users] Fwd: Readline service not available
Sam Geen
samgeen at astro.ox.ac.uk
Sun Nov 6 03:04:08 PST 2011
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...)
On 06/11/11 02:50, Casey W. Stark wrote:
> Hi Chao.
>
> 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?
>
> I recommend...
>
> $ source /path/to/yt/bin/activate
> $ pip install readline
>
> 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...
>
> 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?
>
> Best,
> Casey
>
>
> On Sat, Nov 5, 2011 at 6:19 PM, Chao Shi <shichao116 at gmail.com
> <mailto:shichao116 at gmail.com>> wrote:
>
> BTW, I already tried the method in the FAQ
> http://yt-project.org/doc/faq.html#i-can-t-scroll-up-to-previous-commands-inside-iyt,
> but it still dosen't work.
>
>
> ---------- Forwarded message ----------
> From: *Chao Shi* <shichao116 at gmail.com <mailto:shichao116 at gmail.com>>
> Date: Sat, Nov 5, 2011 at 8:01 PM
> Subject: Readline service not available
> To: yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
>
>
> 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
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20111106/d22a7b80/attachment.htm>
More information about the yt-users
mailing list