[yt-users] After updating YT an error occurs
Matthew Turk
matthewturk at gmail.com
Thu Sep 12 07:09:38 PDT 2013
Hi Seyit,
That's odd. It should exist in there; the only thing I can think of
is that it may need a full recompilation. Can you try:
(activate your environment however, making sure your GNU modules or
whatever are loaded)
cd /net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/
python2.7 setup.py build_ext -i -f
and then try again? If you run into the issue once more, the output
from this specific command may help diagnose it:
python2.7 -c "import yt.utilities.lib.write_array"
Best,
Matt
On Thu, Sep 12, 2013 at 8:42 AM, Seyit Hocuk <seyit at astro.rug.nl> wrote:
> Hi,
>
> After I update my YT, I get this error when using my script. Probably some
> paths are wrong? I included the updater.log.
>
> ./ytmaps.py
> Traceback (most recent call last):
> File "./ytmaps.py", line 5, in <module>
> from yt.mods import *
> File
> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/mods.py",
> line 60, in <module>
> from yt.data_objects.api import \
> File
> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/data_objects/api.py",
> line 31, in <module>
> from grid_patch import \
> File
> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/data_objects/grid_patch.py",
> line 35, in <module>
> from yt.data_objects.data_containers import YTFieldData
> File
> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py",
> line 45, in <module>
> from yt.data_objects.derived_quantities import GridChildMaskWrapper
> File
> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/data_objects/derived_quantities.py",
> line 36, in <module>
> from yt.utilities.parallel_tools.parallel_analysis_interface import \
> File
> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> line 39, in <module>
> from yt.utilities.lib import \
> File
> "/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/src/yt-hg/yt/utilities/lib/__init__.py",
> line 42, in <module>
> from .write_array import *
> ImportError: No module named write_array
>
> I use the activate.csh and I don't know which version I was using before. It
> wasn't that old though.
>
> --
> With kind regards,
> Seyit
>
>
> S. Hocuk
> Postdoctoral Researcher
> Kapteyn Astronomical Institute
> P.O. box 800
> 9700AV Groningen, the Netherlands
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
More information about the yt-users
mailing list