CFD Online Logo CFD Online URL
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] How to overcome 'Failed to load vtkClientServerPython'?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2021, 07:33
Default How to overcome 'Failed to load vtkClientServerPython'?
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
sunagra27 is on a distinguished road
Dear all,
I have to run some paraview trace file in python to automate the process. For this, I imported paraview as:
from paraview.simple import *
But, it is showing me an error as
“Failed to load vtkClientServerPython: No module named vtkmodules.vtkCommonCorePython”
I have run paraview.simple before and it was working fine. But now, this is giving me a problem from few days. How to overcome this? Below is the complete sys path for paraview which is included in code.

import numpy as np 
import sys, os 

ParaViewBuildPath = "/home/ParaView-5.7.0-MPI-Linux-Python3.7-64bit/" 

sys.path.append(ParaViewBuildPath + "lib/") 
sys.path.append(ParaViewBuildPath + "lib/python3.7/site-packages") 

sys.path.append(ParaViewBuildPath + "lib/python3.7/site-packages/vtkmodules") 

from paraview.simple import *
sunagra27 is offline   Reply With Quote

Old   April 8, 2022, 04:47
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 10
Swift is on a distinguished road

Did you manage to resolve this/ I have just run into this. I too had a working script before that now suddenly fails. :-(

Swift is offline   Reply With Quote


paraview, path, python, vtk

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
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel U.Golling OpenFOAM Running, Solving & CFD 52 September 23, 2023 04:35
Initial conditions for uniform flow andreas OpenFOAM 5 November 16, 2012 16:00
[OpenFOAM] ParaView/Parafoam error when making animation Disco_Caine ParaView 6 September 28, 2010 10:54
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
user defined function cfduser CFX 0 April 29, 2006 11:58

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