<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Nathan,<div><br></div><div>I can do "import h5py" without issue in a python script, and checked the "from h5py import _errors" statement that seems to cause the breakage. Updating via conda didn't fix the issue. I have hdf5 and h5py installed via conda.</div><div><br></div><div>Doing some more checking it looks like (for whatever reason) when running "yt update" it is looking for a version of the hdf5 library that I don't have anywhere. When I did the soft linking of the libhdf5.so that I do have to the libhdf5.so.6 that it is looking for, it yelled at me saying it is trying to use the HDF5 version 1.8.4 headers, but can't find the corresponding libraries. (the most up to date version I have installed is 1.8.14).</div><div><br></div><div>I guess a workaround would be to get the HDF5 1.8.4 library somewhere, but I'm still bothered by this... </div><div><br></div><div>Thanks again.</div><div><br></div><div><br></div><div><br></div><div>Andrew E.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 27, 2015 at 5:18 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Mar 27, 2015 at 2:15 PM, Andrew James Emerick <span dir="ltr"><<a href="mailto:aje2123@columbia.edu" target="_blank">aje2123@columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Nathan,<div><br></div><div>Thanks for the response. I have been delinquent in updating yt. </div><div><br></div><div>Running "yt update", however gives me this error: <a href="http://paste.yt-project.org/show/5492/" target="_blank">http://paste.yt-project.org/show/5492/</a></div><div><br></div><div>Looks like an issue with finding the <span style="color:rgb(0,0,0);font-family:'Bitstream Vera Sans Mono',monospace;font-size:13px">libhdf5.so.6</span> library that I couldn't figure out on my own. I had installed yt from source as to not disturb the python, numpy, hdf5, etc. installations I already had (managed by anaconda). I have <font color="#000000" face="Bitstream Vera Sans Mono, monospace">libhdf5.so.9 in my LD_LIBRARY_PATH (I already tried soft linking .so.9 as .so.6 .. understandably it threw an error).</font><br></div><div><br></div></div></blockquote><div><br></div></span><div>The error is happening when python tries to import h5py.  Can you import h5py in a script that doesn't use yt?  How did you install h5py?</div><div><br></div><div>$ conda update -f h5py</div><div><br></div><div>might fix this.</div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>Have you run across this before?</div><div><br></div><div><br></div><div><br></div><div>Andrew E.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 27, 2015 at 1:04 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Fri, Mar 27, 2015 at 10:00 AM, Andrew James Emerick <span dir="ltr"><<a href="mailto:aje2123@columbia.edu" target="_blank">aje2123@columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>I just ran into an error in using "data_source" kwarg with the SlicePlot function (error message copied below):</div><div><br></div><div><div>slice = yt.SlicePlot(ds, axis, field, data_source=region)</div><div>File "/home/emerick/.local/lib/python2.7/site-packages/yt-3.1dev-py2.7-linux-x86_64.egg/yt/visualization/plot_window.py", line 1816, in SlicePlot</div><div>    return AxisAlignedSlicePlot(ds, normal, fields, *args, **kwargs)</div><div>TypeError: __init__() got an unexpected keyword argument 'data_source'</div><div><br></div><div>I have no problem doing the above with ProjectionPlot. If anyone knows what could be causing this I'd appreciate the help. Otherwise I can do some digging into the code myself.</div><div><br></div></div></div></blockquote><div><br></div></span><div>Hi Andrew,</div><div><br></div><div>This should work, but might not if you haven't updated yt in a while.  Can you update to the latest development version and try again?</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"><span><div dir="ltr"><div><div></div><div><br></div><div><br></div><div>Thanks,</div><div>Andrew E.</div><span><font color="#888888">-- <br><div><div dir="ltr"><div style="font-family:arial;font-size:small">Graduate Student </div><div style="font-family:arial;font-size:small">Columbia University</div><div style="font-family:arial;font-size:small">Department of Astronomy</div></div></div>
</font></span></div></div>
<br></span>_______________________________________________<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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div></div>
<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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div style="font-family:arial;font-size:small">Graduate Student </div><div style="font-family:arial;font-size:small">Columbia University</div><div style="font-family:arial;font-size:small">Department of Astronomy</div></div></div>
</div>
</div></div><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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div></div></div><br></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div style="font-family:arial;font-size:small">Graduate Student </div><div style="font-family:arial;font-size:small">Columbia University</div><div style="font-family:arial;font-size:small">Department of Astronomy</div></div></div>
</div>