<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 4, 2016 at 10:18 AM, Kacper Kowalik <span dir="ltr"><<a href="mailto:xarthisius.kk@gmail.com" target="_blank">xarthisius.kk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 04/04/2016 10:09 AM, Kacper Kowalik wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 04/04/2016 09:59 AM, Andrew James Emerick wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everyone,<br>
<br>
I'm letting anaconda handle my yt install. I have a workstation with yt<br>
3.2.3 running that is now unable to load any enzo data set I have... it<br>
crashes with the following error when trying to access the data (and<br>
crashes with a call to "ds.field_list" with the same error):<br>
<br>
<a href="http://paste.yt-project.org/show/6387/" rel="noreferrer" target="_blank">http://paste.yt-project.org/show/6387/</a><br>
<br>
However, this doesn't seem to be a problem on my laptop which I haven't<br>
updated (yt 3.2.2) and also isn't a problem on FLASH data I have.<br>
<br>
Anyone have the same problem?<br>
</blockquote>
<br>
Hi Andrew,<br>
this is an issue caused by numpy>1.10. It's already fixed in yt<br>
repository [1]. However, a new version of yt hasn't been released yet.<br>
<br>
You can either: apply that patch manually to yt-3.2.3, or postpone<br>
upgrading a bit. There should be a new release in a near future.<br>
<br>
Cheers,<br>
Kacper<br>
<br>
[1]<br>
<a href="https://bitbucket.org/yt_analysis/yt/pull-requests/1697/cast-enzo-grid-start-index-to-int-arrays/diff" rel="noreferrer" target="_blank">https://bitbucket.org/yt_analysis/yt/pull-requests/1697/cast-enzo-grid-start-index-to-int-arrays/diff</a><br>
</blockquote>
<br></span>
Hi again!<br>
Nathan just pointed out on slack two things:<br>
 1) that fix was backported to stable branch and *was* released with 3.2.3<br>
 2) your traceback suggests that you're not using yt installed by conda, but rather a source installation.<br>
<br>
If you want to use yt that comes with conda could make sure that:<br>
 1) your PYTHONPATH is empty or unset<br>
 2) you're using proper version of python, export PATH=<conda_dir>/bin:$PATH should take care of that.<br></blockquote><div><br></div><div>You might also need to do:</div><div><br></div><div>    $ pip uninstall yt</div><div>    $ conda uninstall yt</div><div><br></div><div>repeatedly, until (possibly) multiple installations are removed. Then:</div><div><br></div><div>    $ conda install yt</div><div><br></div><div>Python packaging is fun!</div><div><br></div><div>-Nathan</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If you want to use yt from source, could you make sure that:<br>
 1) you're on right revision: hg update yt-3.2.3<br>
 2) recompile source: python setup.py build_ext -i<br>
<br>
Cheers,<br>
Kacper<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Andrew<br>
<br>
<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
</blockquote>
<br>
</blockquote>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</div></div></blockquote></div><br></div></div>