[yt-users] Cannot load data in yt 3.2.3

Nathan Goldbaum nathan12343 at gmail.com
Mon Apr 4 08:21:26 PDT 2016


On Mon, Apr 4, 2016 at 10:18 AM, Kacper Kowalik <xarthisius.kk at gmail.com>
wrote:

> On 04/04/2016 10:09 AM, Kacper Kowalik wrote:
>
>> On 04/04/2016 09:59 AM, Andrew James Emerick wrote:
>>
>>> Hi everyone,
>>>
>>> I'm letting anaconda handle my yt install. I have a workstation with yt
>>> 3.2.3 running that is now unable to load any enzo data set I have... it
>>> crashes with the following error when trying to access the data (and
>>> crashes with a call to "ds.field_list" with the same error):
>>>
>>> http://paste.yt-project.org/show/6387/
>>>
>>> However, this doesn't seem to be a problem on my laptop which I haven't
>>> updated (yt 3.2.2) and also isn't a problem on FLASH data I have.
>>>
>>> Anyone have the same problem?
>>>
>>
>> Hi Andrew,
>> this is an issue caused by numpy>1.10. It's already fixed in yt
>> repository [1]. However, a new version of yt hasn't been released yet.
>>
>> You can either: apply that patch manually to yt-3.2.3, or postpone
>> upgrading a bit. There should be a new release in a near future.
>>
>> Cheers,
>> Kacper
>>
>> [1]
>>
>> https://bitbucket.org/yt_analysis/yt/pull-requests/1697/cast-enzo-grid-start-index-to-int-arrays/diff
>>
>
> Hi again!
> Nathan just pointed out on slack two things:
>  1) that fix was backported to stable branch and *was* released with 3.2.3
>  2) your traceback suggests that you're not using yt installed by conda,
> but rather a source installation.
>
> If you want to use yt that comes with conda could make sure that:
>  1) your PYTHONPATH is empty or unset
>  2) you're using proper version of python, export
> PATH=<conda_dir>/bin:$PATH should take care of that.
>

You might also need to do:

    $ pip uninstall yt
    $ conda uninstall yt

repeatedly, until (possibly) multiple installations are removed. Then:

    $ conda install yt

Python packaging is fun!

-Nathan


>
> If you want to use yt from source, could you make sure that:
>  1) you're on right revision: hg update yt-3.2.3
>  2) recompile source: python setup.py build_ext -i
>
> Cheers,
> Kacper
>
>
>>> Thanks,
>>> Andrew
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160404/f75f815c/attachment.htm>


More information about the yt-users mailing list