>>>>> On Wed, 21 Apr 2010 16:54:14 +0400
>>>>> "s" == soukhinov  <[email protected]> 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

_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to