<div dir="ltr">Dear Nathan,<br>this is the result..<br><br><font size="4">[csurajit@c0 cosmorun5]$ yt instinfo<br>Traceback (most recent call last):<br> File "/data1/software/cosmology/bin/yt", line 5, in <module><br>
from pkg_resources import load_entry_point<br> File "/data1/software/cosmology/surajit/software/cosmo/yt_analysis-yt-ca6e536c15a6/doc/yt-x86_64/lib/python2.6/site-packages/distribute-0.6.14-py2.6.egg/pkg_resources.py", line 16, in <module><br>
import sys, os, zipimport, time, re, imp, types<br>ImportError: No module named time<br>[csurajit@c0 cosmorun5]$ </font><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 2:24 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Reju, <div><br></div><div>I'm not completely sure why SlicePlot isn't in your namespace. Can you do the following at the command line:</div>
<div><br></div><div>$ yt instinfo</div><div>
<br></div><div>and reply with a paste of the result?</div><div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Feb 22, 2013 at 10:53 AM, Reju Sam John <span dir="ltr"><<a href="mailto:rejusamjohn@gmail.com" target="_blank">rejusamjohn@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><font size="4"><font>Hello all,<br></font></font></div><font size="4"><font><font>I the following code <br>
</font> </font><br></font><div><font size="4">from yt.mods import *<br>pf = load("RD0015/RedshiftOutput0015")<br>
p= SlicePlot(pf,2,'Density','c',(20,'kpc'))<br>p.save('sliceplot')<br><br><br clear="all"></font></div><div>it is showing an error <br><br><i><font size="4">Traceback (most recent call last):<br>
File "sliceplot_Density.py", line 3, in <module><br> p = SlicePlot(pf,2,'Density','c',(20,'kpc'))<br>NameError: name 'SlicePlot' is not defined</font></i><br><br><br></div>
<div><font>what is the reas<font>on<font>? is t<font>here files we have to import<font>.</font></font></font></font></font><span><font color="#888888"><br></font></span></div><span><font color="#888888"><div>
-- <br><div dir="ltr">Reju Sam John</div>
</div></font></span></div>
<br></div></div>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>
<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><br clear="all"><br>-- <br><div dir="ltr">Reju Sam John</div>
</div>