|
[Sponsors] |
[General] How to overcome 'Failed to load vtkClientServerPython'? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 22, 2021, 07:33 |
How to overcome 'Failed to load vtkClientServerPython'?
|
#1 |
Member
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 7 |
Dear all,
I have to run some paraview trace file in python to automate the process. For this, I imported paraview as: 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. 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 * |
|
April 8, 2022, 04:47 |
|
#2 |
Member
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 11 |
Hi,
Did you manage to resolve this/ I have just run into this. I too had a working script before that now suddenly fails. :-( Thanks! Thomas |
|
Tags |
paraview, path, python, vtk |
|
|
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 |