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

John ZuHone jzuhone at gmail.com
Tue Jul 10 16:18:32 PDT 2012


Hi Geoffrey,

I second Nathan here--this is what happened to me a while back. There's been a re-org of some of the Cython modules. 

John

On Jul 10, 2012, at 7:17 PM, Nathan Goldbaum wrote:

> 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
> 
> 
> _______________________________________________
> 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/e854b014/attachment.html>


More information about the yt-dev mailing list