CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Bugs

ParaView 33 Python Shell error and fix

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 20, 2008, 10:45
Default When compiling ParaView from s
New Member
Michael Schoenberg
Join Date: Mar 2009
Posts: 9
Rep Power: 10
mschoenberg is on a distinguished road
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.
mschoenberg is offline   Reply With Quote

Old   August 21, 2008, 04:43
Default Thanks for the fix, we will pu
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 15
henry is on a distinguished road
Thanks for the fix, we will put it in.

henry is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Paraview mahaputra OpenFOAM Paraview & paraFoam 0 March 11, 2009 17:09
Paraview3 python scripting tomislav_maric OpenFOAM Paraview & paraFoam 1 October 6, 2008 16:47
Compilation error with paraview quartzian OpenFOAM Installation 0 September 21, 2008 08:32
ParaView 33 Python Shell error mschoenberg OpenFOAM Paraview & paraFoam 2 August 20, 2008 10:42
Python Skripts for IGG Ole Ritter NUMECA 2 April 21, 2003 05:02

All times are GMT -4. The time now is 16:25.