[vtkusers] paraview 3.8.1 and numpy?
Oliver Porth
oporth at urz.uni-heidelberg.de
Tue Jan 11 17:32:17 EST 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: Signierter Teil der Nachricht
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110111/923e6830/attachment.pgp>
More information about the vtkusers
mailing list