[yt-users] After updating YT an error occurs

Seyit Hocuk seyit at astro.rug.nl
Thu Sep 12 07:12:58 PDT 2013


Hi Matt,

The commands give me:

python2.7 setup.py build_ext -i -f
The required version of distribute (>=0.6.32) is not available,
and can't be installed while this script is running. Please
install a more recent version first, using
'easy_install -U distribute'.

(Currently using distribute 0.6.21 
(/net/ulubey/data/users/seyit/programmas/yt/yt-x86_64/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg))


python2.7 -c "import yt.utilities.lib.write_array"
Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "yt/utilities/lib/__init__.py", line 42, in <module>
     from .write_array import *
ImportError: No module named write_array

Best,
Seyit


On 09/12/2013 04:09 PM, Matthew Turk wrote:
> 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
>>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


-- 
With kind regards,
Seyit


S. Hocuk
Postdoctoral Researcher
Kapteyn Astronomical Institute
P.O. box 800
9700AV Groningen, the Netherlands




More information about the yt-users mailing list