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

ParaView 33 Python Shell error and fix

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2008, 11:45
Default When compiling ParaView from s
  #1
New Member
 
Michael Schoenberg
Join Date: Mar 2009
Posts: 9
Rep Power: 17
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, 05:43
Default Thanks for the fix, we will pu
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 09:43.