# How to overcome Failed to load vtkClientServerPython?

**URL:** https://discourse.vtk.org/t/how-to-overcome-failed-to-load-vtkclientserverpython/5417
**Category:** Support
**Created:** [March 22, 2021, 8:59am UTC](https://discourse.vtk.org/t/how-to-overcome-failed-to-load-vtkclientserverpython/5417 "2021-03-22T08:59:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rasunag27](https://discourse.vtk.org/user_avatar/discourse.vtk.org/rasunag27/32/3160_2.png) [@rasunag27](https://discourse.vtk.org/u/rasunag27)
#### Post date: [March 22, 2021, 8:59am UTC](https://discourse.vtk.org/t/how-to-overcome-failed-to-load-vtkclientserverpython/5417/1 "2021-03-22T08:59:10Z")

</div>

I have to run some paraview trace file in python to automate the process. For this, I have I am trying to import 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 from python 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.

```auto
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 *

```
