<div>The import works fine for me, even with the 64-bits linux release.<br></div>
<div class="gmail_quote">Le 18 mai 2011 09:24, Aurélien Marsan <span dir="ltr"><<a href="mailto:aur.marsan@gmail.com">aur.marsan@gmail.com</a>></span> a écrit :<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">No, don't recompile Paraview. <br>In the worst case, you simply want to install python 2.7 (same as Paraview) on your computer, add the numpy library, and set your PYTHONPATH to this new numpy directory. <br>
<br>I check if the numpy import works well with the binary package on a 64-bits linux, I will let you know. <br>For now, I'm on a windows machine. <br> <br>Regards, <br> <br>Aurélien<br><br>
<div class="gmail_quote">Le 17 mai 2011 16:14, Fabian Braennstroem <span dir="ltr"><<a href="mailto:f.braennstroem@gmx.de" target="_blank">f.braennstroem@gmx.de</a>></span> a écrit :
<div>
<div></div>
<div class="h5"><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Thanks, ... by testing it I have some error messages with the programmable filter for the 3.10.1 binary 64bit version on linux:<br>
<br>Traceback (most recent call last):<br> File "<string>", line 10, in <module><br> File "/home/gcae504/Desktop/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/__init__.py", line 136, in <module><br>
import add_newdocs<br> File "/home/gcae504/Desktop/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in <module><br> from numpy.lib import add_newdoc<br>
File "/home/gcae504/Desktop/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in <module><br> from polynomial import *<br> File "/home/gcae504/Desktop/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 11, in <module><br>
import numpy.core.numeric as NX<br>AttributeError: 'module' object has no attribute 'core'<br><br>It seems to me, that the numpy module is not complete!? Or do I need to recompile paraview to get the filter working correctly!?<br>
<br>Best Regards!<br>Fabian
<div><br><br><br>On 05/17/2011 02:23 PM, Aurélien Marsan wrote:<br></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>And for the coordinates :<br>print inputs[0].Points<br><br>Le 17 mai 2011 14:22, Aurélien Marsan <<a href="mailto:aur.marsan@gmail.com" target="_blank">aur.marsan@gmail.com</a><br></div><mailto:<a href="mailto:aur.marsan@gmail.com" target="_blank">aur.marsan@gmail.com</a>>> a écrit :
<div><br><br> In the programmable filter, if the input is something else than a<br> vtkMultiBlockDataSet<br> print inputs[0].PointData['ro']<br> in order to see the 'ro' value at the point.<br><br>
<br></div></blockquote><br></blockquote></div></div></div><br></blockquote></div><br>