<div dir="ltr">Another trick to try (no guarantees :) ) is to install Python <span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.6999998092651px;line-height:19.0499992370605px;text-align:center">2.7.2 (64bit) and then install h5py for this installation of Python. Then, try loading h5py from pvpython. You'll need to extend the sys.path variable to find the installed modules.</span><br><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.6999998092651px;line-height:19.0499992370605px;text-align:center"><br></span></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.6999998092651px;line-height:19.0499992370605px;text-align:center">Utkarsh</span></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 2, 2015 at 2:54 AM Jean-Michel <<a href="mailto:jm.lucas@gantha.com">jm.lucas@gantha.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Thank
you for your answer Utkarsh.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Unfortunately,
the h5py installer for Windows does not find the Python installation packaged
with ParaView in my registry, so I cannot install it in ParaView.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Jean-Michel<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Utkarsh Ayachit
[mailto:<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>] <br>
<b>Envoyé :</b> vendredi 29 mai 2015 20:00<br>
<b>À :</b> Jean-Michel; <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Objet :</b> Re: [Paraview] Import h5py in python shell<u></u><u></u></span></p>
</div></div></div><div lang="FR" link="blue" vlink="purple"><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">ParaView packages its own Python. You'll either need to
build ParaView from source using the Python installation you have or
install <span style="font-size:10.0pt">h5py in the Python packaged with
ParaView.</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Utkarsh</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div><div lang="FR" link="blue" vlink="purple"><div><div>
<div>
<p class="MsoNormal">On Tue, May 26, 2015 at 9:58 AM Jean-Michel <<a href="mailto:jm.lucas@gantha.com" target="_blank">jm.lucas@gantha.com</a>> wrote:<u></u><u></u></p>
</div>
</div></div></div><div lang="FR" link="blue" vlink="purple"><div><div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div>
<div>
<p class="MsoNormal"><span lang="EN-US">Dear all,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I am currently trying to use the h5py module in the Python Shell in
ParaView 4.3.1 (64 bits). On my system, h5py comes from my installation of
python-xy and works fine outside of ParaView.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I tried to import the module by providing the path to the package,
using mainly two methods:</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">- append the path to the package with sys.path.append before doing
the import</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">- import the module using the imp package and providing the full path
to imp.load_source</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">However, both methods failed to load h5py, returing the following
error : "ImportError: DLL load failed: %1 is not a valid win32
application".</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for your help.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal">Jean-Michel<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="99%" noshade style="color:#909090" align="center">
</div>
</div></blockquote></div></div></div><div lang="FR" link="blue" vlink="purple"><div><div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><table border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tr>
<td style="padding:0cm 11.25pt 0cm 6.0pt">
<p class="MsoNormal"><a href="http://www.avast.com/" target="_blank"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" src="cid:~WRD000.jpg" alt="Image supprimée par l'expéditeur. Avast logo"></span></a><u></u><u></u></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p><span style="font-family:"Calibri","sans-serif";color:#3d4d5a">L'absence
de virus dans ce courrier électronique a été vérifiée par le logiciel
antivirus Avast. <br>
<a href="http://www.avast.com/" target="_blank">www.avast.com</a> <u></u><u></u></span></p>
</td>
</tr>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
</div></blockquote></div></div></div><div lang="FR" link="blue" vlink="purple"><div><div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><u></u><u></u></p>
</blockquote></div></div></div><div lang="FR" link="blue" vlink="purple">
<br><br>
<hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tr>
<td style="border:none;padding:0px 15px 0px 8px">
<a href="http://www.avast.com/" target="_blank">
<img border="0" src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo">
</a>
</td>
<td>
<p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
<br><a href="http://www.avast.com/" target="_blank">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br>
</div></blockquote></div>