[yt-users] installing yt on Steele

Matthew Turk matthewturk at gmail.com
Sun Nov 22 09:23:08 PST 2009


Hi Shankar,

"load" is defined in the yt.mods namespace.  "iyt" will preload the
namespace for you, but if you just use ipython, you have to do
something like:

from yt.mods import *

to populate the local namespace will all the yt objects.

-Matt

On Sun, Nov 22, 2009 at 9:17 AM, Agarwal, Shankar <sagarwal at ku.edu> wrote:
> Ok. I switched wxpython=0 and installed yt successfully.
>
> Now,  ipython is acting up...
>
> [agarwa23 at tg-steele RD0002]$ ipython
> /home/ba01/u118/agarwa23/enzo1/src/yt/doc/yt-x86_64/lib/python2.6/site-packages/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated
>  from sets import Set
> Python 2.6.1 (r261:67515, Nov 22 2009, 11:54:03)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.9.1 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object'. ?object also works, ?? prints more.
>
> In [1]: pf=load("RedshiftOutput0002.cpu0001")
> ---------------------------------------------------------------------------
> NameError                                 Traceback (most recent call last)
>
> /usr/rmt_share/scratch95/a/agarwa23/0eV/512/box200/sim1/RD0002/<ipython console> in <module>()
>
> NameError: name 'load' is not defined
>
> In [2]:
>
>
> shankar
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>



More information about the yt-users mailing list