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

Geoffrey So gsiisg at gmail.com
Tue Jul 10 19:55:46 PDT 2012


I think one more instances of amr_utils was left unchanged, I had to
comment out line 47 in the file
yt/frontends/art/fields.py
Then >from yt.mods import * worked
It's redundant since it's already specified in line 39 I believe.
Can someone check that in after verifying that it works?

From
G.S.

On Tue, Jul 10, 2012 at 5:37 PM, Matthew Turk <matthewturk at gmail.com> wrote:

> Fixed in 30fe4db8b236
>
> On Tue, Jul 10, 2012 at 5:33 PM, Matthew Turk <matthewturk at gmail.com>
> wrote:
> > How did it break?  The same way?
> >
> > On Tue, Jul 10, 2012 at 5:33 PM, Christopher Moody <cemoody at ucsc.edu>
> wrote:
> >> Hi everyone,
> >> So while my normal install didn't break, a brand new dev install did,
> which
> >> is what Geoffery is demonstrating here. Out of the box, I agree it's
> broken.
> >> I'm hoping it's not related to commits I just made to CICDeposit.px ...
> >>
> >> chris
> >>
> >>
> >> On Tue, Jul 10, 2012 at 4:18 PM, John ZuHone <jzuhone at gmail.com> wrote:
> >>>
> >>> 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
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> 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
> >>
> _______________________________________________
> 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/624237dd/attachment.htm>


More information about the yt-dev mailing list