# Paraview in python: ModuleNotFoundError

**URL:** https://discourse.paraview.org/t/paraview-in-python-modulenotfounderror/11220
**Category:** ParaView Support
**Tags:** python
**Created:** [January 20, 2023, 1:57pm UTC](https://discourse.paraview.org/t/paraview-in-python-modulenotfounderror/11220 "2023-01-20T13:57:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kskollepara](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kskollepara/32/10718_2.png) [@kskollepara](https://discourse.paraview.org/u/kskollepara)
#### Post date: [January 20, 2023, 1:57pm UTC](https://discourse.paraview.org/t/paraview-in-python-modulenotfounderror/11220/1 "2023-01-20T13:57:32Z")

</div>

I am sure this is a trivial question (I am a beginner in paraview): I am importing paraview.simple from the anaconda python interpreter (OS: Ubuntu 22.04). As per the comments written in `paraview/ __init__.py`, I understand why `vtkRemotingCore` is not found. However, the alternative `_paraview_modules_static` is also not found. I tried to search for a file by this name in the paraview directory, but I couldn’t find anything. Please help.

```auto
import sys
sys.path.append('/home/user/appimages/ParaView/lib/python3.9/site-packages/paraview')
sys.path.append('/home/user/appimages/ParaView/bin')
from paraview.simple import *

```

```auto
Traceback (most recent call last):

  File "/home/user/appimages/ParaView/lib/python3.9/site-packages/paraview/ __init__.py", line 260, in <module>
    from .modules import vtkRemotingCore

ImportError: Failed to load vtkRemotingCore: No module named paraview.modules.vtkRemotingClientServerStream

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/tmp/ipykernel_7002/665248585.py", line 4, in <module>
    from paraview.simple import *

  File "/home/user/appimages/ParaView/lib/python3.9/site-packages/paraview/ __init__.py", line 262, in <module>
    import _paraview_modules_static

ModuleNotFoundError: No module named '_paraview_modules_static'

```

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [April 24, 2023, 1:06am UTC](https://discourse.paraview.org/t/paraview-in-python-modulenotfounderror/11220/2 "2023-04-24T01:06:28Z")

</div>

`_paraview_modules_static` is for static builds. I think the issue is that your first path needs to lose the `/paraview` suffix.

---

<div class="post-metadata">

### Author: ![Reshm\_R\_S](https://discourse.paraview.org/user_avatar/discourse.paraview.org/reshm_r_s/32/12131_2.png) [@Reshm\_R\_S](https://discourse.paraview.org/u/Reshm_R_S)
#### Post date: [August 23, 2023, 1:47pm UTC](https://discourse.paraview.org/t/paraview-in-python-modulenotfounderror/11220/4 "2023-08-23T13:47:50Z")

</div>

I still get the same error. Any other ideas that could fix the problem?

```auto
ImportError: Failed to load vtkRemotingCore: No module named paraview.modules.vtkRemotingClientServerStream

```

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [August 23, 2023, 3:30pm UTC](https://discourse.paraview.org/t/paraview-in-python-modulenotfounderror/11220/5 "2023-08-23T15:30:06Z")

</div>

I see this thread for that issue: [Import issues for vtkRemotingCore](https://discourse.paraview.org/t/import-issues-for-vtkremotingcore/12740)
