CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

ParaView 33 Python Shell error and fix

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

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

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

H
henry is offline   Reply With Quote

Reply

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 04:17.