<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Britton,<div>  ok.  Yes, that cleared it up.  Thanks!</div><div><br></div><div>Eric<br><div><div>On Aug 15, 2014, at 9:03 AM, Britton Smith <<a href="mailto:brittonsmith@gmail.com">brittonsmith@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Eric,<div><br></div><div>I think the problem is that I forgot to add the halo_analysis package to the setup.py in yt/analysis_modules, so if you installed yt with "python setup.py install", that package didn't get included.  This is something I'll fix right away, but if you switch to "python setup.py develop", it should work fine.</div>
<div><br></div><div>Britton</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 15, 2014 at 1:53 PM, Eric Hallman <span dir="ltr"><<a href="mailto:hallman13@gmail.com" target="_blank">hallman13@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 style="word-wrap:break-word">Good morning,<div>   I'm getting back to using yt for cosmological analysis after a layoff, and I'm now on yt-3.0, which I hadn't been using in the past.  So I needed to do a quick halo finding on a small dataset, and the cookbook script fails immediately.  I'm absolutely certain I'm doing something stupid, but I don't know what it is, since I've only issued two commands, they are the first two in the script, and they fail.  Can someone tell me what I'm doing wrong?  My problem here is that this error is so basic to the operation that I'm not sure exactly how to dig into it.</div>
<div><br></div><div>Thanks.</div><div><br></div><div><br></div><div>Here are the commands, and the output: </div><div><br></div><div><div style="margin:0px;font-size:13px;font-family:Menlo">>>> import yt</div><div style="margin:0px;font-size:13px;font-family:Menlo">
>>> from yt.analysis_modules.halo_analysis.api import HaloCatalog</div><div style="margin:0px;font-size:13px;font-family:Menlo">Traceback (most recent call last):</div><div style="margin:0px;font-size:13px;font-family:Menlo">
  File "<stdin>", line 1, in <module></div><div style="margin:0px;font-size:13px;font-family:Menlo">ImportError: No module named halo_analysis.api</div></div><div style="margin:0px;font-size:13px;font-family:Menlo">
<br></div><div style="margin:0px;font-size:13px;font-family:Menlo">And here is my version info:</div><div style="margin:0px;font-size:13px;font-family:Menlo"><br></div><div style="margin:0px;font-size:13px;font-family:Menlo">
<div style="margin:0px">torque:RD0009 hallman$ yt version</div><div style="margin:0px;min-height:15px"><br></div><div style="margin:0px">yt module located at:</div><div style="margin:0px">    /Users/hallman/work/yt-x86_64/lib/python2.7/site-packages/yt-3.0-py2.7-macosx-10.4-x86_64.egg</div>
<div style="margin:0px">The supplemental repositories are located at:</div><div style="margin:0px">    /Users/hallman/work/yt-x86_64/src/yt-supplemental</div><div style="margin:0px;min-height:15px"><br></div><div style="margin:0px">
The current version and changeset for the code is:</div><div style="margin:0px;min-height:15px"><br></div><div style="margin:0px">---</div><div style="margin:0px">Version = 3.0</div><div style="margin:0px">Changeset = cf867eab0515 stable</div>
<div style="margin:0px">---</div><div><br></div><div><br></div><div><br></div></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>
_______________________________________________<br>yt-users mailing list<br><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>-- <br>Eric Hallman<br>Tech-X Corporation               <a href="mailto:hallman@txcorp.com">hallman@txcorp.com</a><br>5621 Arapahoe Ave, Suite A       Phone: (720) 254-5833<br>Boulder, CO 80303                Fax:   (303) 448-7756<br>--</div><div><br></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>