CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   ParaView 33 Python Shell error and fix (

mschoenberg August 20, 2008 10:45

When compiling ParaView from s
When compiling ParaView from source with Python enabled, PYTHONPATH is not appropriately updated to point to the VTK libraries:

>>> from paraview import servermanager
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Icc/Ut ilities/VTKPythonWrapping/paraview/", line 43, in ?
import re, os, new, exceptions, sys, vtk
File "/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Icc/Ut ilities/VTKPythonWrapping/paraview/", line 4, in ?
from libvtkCommonPython import *
ImportError: No module named libvtkCommonPython

Bernhard Gschaider posted a solution to this at the following address.

henry August 21, 2008 04:43

Thanks for the fix, we will pu
Thanks for the fix, we will put it in.


All times are GMT -4. The time now is 18:11.