[yt-users] probably a dumb question about yt-3.0

Eric Hallman hallman at txcorp.com
Fri Aug 15 09:31:02 PDT 2014


Britton,
  ok.  Yes, that cleared it up.  Thanks!

Eric
On Aug 15, 2014, at 9:03 AM, Britton Smith <brittonsmith at gmail.com> wrote:

> Hi Eric,
> 
> 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.
> 
> Britton
> 
> 
> On Fri, Aug 15, 2014 at 1:53 PM, Eric Hallman <hallman13 at gmail.com> wrote:
> Good morning,
>    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.
> 
> Thanks.
> 
> 
> Here are the commands, and the output: 
> 
> >>> import yt
> >>> from yt.analysis_modules.halo_analysis.api import HaloCatalog
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named halo_analysis.api
> 
> And here is my version info:
> 
> torque:RD0009 hallman$ yt version
> 
> yt module located at:
>     /Users/hallman/work/yt-x86_64/lib/python2.7/site-packages/yt-3.0-py2.7-macosx-10.4-x86_64.egg
> The supplemental repositories are located at:
>     /Users/hallman/work/yt-x86_64/src/yt-supplemental
> 
> The current version and changeset for the code is:
> 
> ---
> Version = 3.0
> Changeset = cf867eab0515 stable
> ---
> 
> 
> 
> 
> _______________________________________________
> yt-users mailing list
> 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

-- 
Eric Hallman
Tech-X Corporation               hallman at txcorp.com
5621 Arapahoe Ave, Suite A       Phone: (720) 254-5833
Boulder, CO 80303                Fax:   (303) 448-7756
--




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140815/03bd4bcd/attachment.htm>


More information about the yt-users mailing list