[yt-users] Cannot load data in yt 3.2.3

Kacper Kowalik xarthisius.kk at gmail.com
Mon Apr 4 08:18:10 PDT 2016


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.

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
>>
>




More information about the yt-users mailing list