CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   ParaView 33 Python Shell error and fix (http://www.cfd-online.com/Forums/openfoam-bugs/62434-paraview-33-python-shell-error-fix.html)

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/servermanager.py", line 43, in ?
import re, os, new, exceptions, sys, vtk
File "/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Icc/Ut ilities/VTKPythonWrapping/paraview/vtk.py", line 4, in ?
from libvtkCommonPython import *
ImportError: No module named libvtkCommonPython

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

http://www.cfd-online.com/cgi-bin/Op...5783#POST25783

henry August 21, 2008 04:43

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

H


All times are GMT -4. The time now is 23:17.