[Paraview] Error in Python shell
Bernhard Gschaider
bgschaid_lists at ice-sf.at
Thu Apr 22 08:35:45 EDT 2010
>>>>> On Wed, 21 Apr 2010 16:54:14 +0400
>>>>> "s" == soukhinov <soukhinov at gmail.com> wrote:
s> Python 2.6.4 (r264:75706, Dec 7 2009, 18:59:58)
s> [GCC 4.4.1] on linux2
>>>> from paraview import servermanager
s> Traceback (most recent call last):
s> File "<string>", line 1, in <module>
s> File
s> "/usr/lib/python2.6/dist-packages/paraview/servermanager.py",
s> line 43, in <module>
s> import re, os, new, exceptions, sys, vtk
s> File "/usr/lib/python2.6/dist-packages/paraview/vtk.py", line
s> 4, in <module>
>> from libvtkCommonPython import *
s> ImportError: No module named libvtkCommonPython
You've got to add the directory where this (and other so-files)
resides to the PYTHONPATH before calling paraview. Something like
export PYTHONPATH=<system specific path>/bin:$PYTHONPATH
With the <system specific path> I can'T help you
Bernhard
More information about the ParaView
mailing list