<div dir="ltr">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:13.1999998092651px;line-height:19.7999992370605px">h5py in the Python packaged with ParaView.</span><br><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px"><br></span></div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">Utkarsh</span></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, May 26, 2015 at 9:58 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">Dear all,<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></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.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></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:<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">- append the path to the package with
sys.path.append before doing the import<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">- import the module using the imp package
and providing the full path to imp.load_source<u></u><u></u></span></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".<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">Thank you for your help.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>

<p class="MsoNormal">Jean-Michel<u></u><u></u></p>

</div>


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


_______________________________________________<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><br>
</blockquote></div>