[vtkusers] paraview 3.8.1 and numpy?

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu Jan 13 08:16:39 EST 2011


Hi Olivier,

any questions related to ParaView should be post on the ParaView
mailing list. The ParaView community may not read the vtk mailing
list.

Seb

On Tue, Jan 11, 2011 at 5:32 PM, Oliver Porth
<oporth at urz.uni-heidelberg.de> wrote:
> hi,
> i am definitely a beginner in python+paraview and am getting crazy with this...
>
> When i try to reproduce the basic tutorial from http://www.vtk.org/Wiki/ParaView/Users_Guide/Python_Calculator
>
> i get the following error after entering and applying the expression '5' on my linux machine as well as on my mac:
>
> Traceback (most recent call last):
>  File "<string>", line 4, in <module>
>  File "/home/porth/lib/paraview-3.8/site-packages/paraview/vtk/dataset_adapter.py", line 2, in <module>
>    import numpy
>  File "/home/porth/bin/numpy/lib64/python2.6/site-packages/numpy/__init__.py", line 136, in <module>
>    import add_newdocs
>  File "/home/porth/bin/numpy/lib64/python2.6/site-packages/numpy/add_newdocs.py", line 9, in <module>
>    from numpy.lib import add_newdoc
>  File "/home/porth/bin/numpy/lib64/python2.6/site-packages/numpy/lib/__init__.py", line 4, in <module>
>    from type_check import *
>  File "/home/porth/bin/numpy/lib64/python2.6/site-packages/numpy/lib/type_check.py", line 8, in <module>
>    import numpy.core.numeric as _nx
>  File "/home/porth/bin/numpy/lib64/python2.6/site-packages/numpy/core/__init__.py", line 8, in <module>
>    import numerictypes as nt
>  File "/home/porth/bin/numpy/lib64/python2.6/site-packages/numpy/core/numerictypes.py", line 469, in <module>
>    _set_array_types()
>  File "/home/porth/bin/numpy/lib64/python2.6/site-packages/numpy/core/numerictypes.py", line 460, in _set_array_types
>    _gi = dtype('p')
> TypeError: data type not understood
>
>
> Have i missed something when installing numpy?
>
> Thanks a lot and cheers,
>
> oliver
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list