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

Britton Smith brittonsmith at gmail.com
Fri Aug 15 06:03:45 PDT 2014


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140815/c55b902e/attachment.html>


More information about the yt-users mailing list