[yt-dev] cannot do from yt.mods import *

Nathan Goldbaum nathan12343 at gmail.com
Tue Jul 10 16:17:08 PDT 2012


Hi Geoffrey,

It works for me - have you tried re-running setup.py?  Perhaps some of 
the cython code needs to be recompiled.

-Nathan

On 7/10/12 4:12 PM, Geoffrey So wrote:
> Hi,
>
> I just installed the latest dev as of 30 minutes ago or so, but I get 
> the following when I do >from yt.mods import * in python.
>
> Traceback (most recent call last):
>   File "proj.py", line 1, in <module>
>     from yt.mods import *
>   File 
> "/home/ux455076/dev-yt/lib/python2.7/site-packages/yt-2.4dev-py2.7-linux-x86_64.egg/yt/mods.py", 
> line 98, in <module>
>     from yt.frontends.art.api import \
>   File 
> "/home/ux455076/dev-yt/lib/python2.7/site-packages/yt-2.4dev-py2.7-linux-x86_64.egg/yt/frontends/art/api.py", 
> line 31, in <module>
>     from .data_structures import \
>   File 
> "/home/ux455076/dev-yt/lib/python2.7/site-packages/yt-2.4dev-py2.7-linux-x86_64.egg/yt/frontends/art/data_structures.py", 
> line 42, in <module>
>     from .fields import \
>   File 
> "/home/ux455076/dev-yt/lib/python2.7/site-packages/yt-2.4dev-py2.7-linux-x86_64.egg/yt/frontends/art/fields.py", 
> line 39, in <module>
>     import yt.utilities.amr_utils as amr_utils
> ImportError: No module named amr_utils
>
> Is my installation broken or is there something wrong with the latest 
> dev yt?
>
> From
> G.S.
>
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20120710/6864bbdf/attachment.htm>


More information about the yt-dev mailing list