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, 06:33
Default How to overcome 'Failed to load vtkClientServerPython'?
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 63
Rep Power: 4
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


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 46 March 25, 2021 05:28
Initial conditions for uniform flow andreas OpenFOAM 5 November 16, 2012 15:00
[OpenFOAM] ParaView/Parafoam error when making animation Disco_Caine ParaView 6 September 28, 2010 09:54
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31
user defined function cfduser CFX 0 April 29, 2006 10:58

All times are GMT -4. The time now is 01:30.