# Python import error

**URL:** https://discourse.paraview.org/t/python-import-error/8767
**Category:** Development
**Created:** [January 13, 2022, 6:13am UTC](https://discourse.paraview.org/t/python-import-error/8767 "2022-01-13T06:13:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)
#### Post date: [January 13, 2022, 6:13am UTC](https://discourse.paraview.org/t/python-import-error/8767/1 "2022-01-13T06:13:19Z")

</div>

I just built Paraview on Windows 10 from master and now I’m getting an error when trying to run **pvbatch** from the command line. It was working previously with the code base from a month ago.

> C:\Users\toddm\Downloads\paraview\_python\_test\>python test2.py  
> [‘C:/Users/toddm/workspace/Build\_Paraview\_64/bin/Debug/pvbatch.exe’, ‘test/input\_sample.py’]  
> Traceback (most recent call last):  
> File “C:\Users\toddm\workspace\Build\_Paraview\_64\bin\Lib\site-packages\paraview\__init_\_.py”, line 257, in   
> from .modules import vtkRemotingCore  
> ImportError: Failed to load vtkRemotingCore: No module named paraview.modules.vtkRemotingClientServerStream

where the contents of _test2.py_ are

```auto
import subprocess

PARAVIEW_PATH = "C:/Users/toddm/workspace/Build_Paraview_64/bin/Debug/pvbatch.exe"
input_file_path = "test/input_sample.py"

args = [PARAVIEW_PATH, input_file_path]
print(args)
paraview_process = subprocess.Popen(args)
paraview_process.wait()

```

---

<div class="post-metadata">

### Author: ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)
#### Post date: [January 14, 2022, 1:16am UTC](https://discourse.paraview.org/t/python-import-error/8767/2 "2022-01-14T01:16:47Z")

</div>

No ideas? Nothing has changed except updating the Paraview source from the repository.

**Edit:** I was able to resolve this by deleting the build/bin folder and rebuilding Paraview.
