# PyWebVue cannot run Paraview ContourGeometry example

**URL:** https://discourse.paraview.org/t/pywebvue-cannot-run-paraview-contourgeometry-example/8620
**Category:** Web Support
**Created:** [December 14, 2021, 7:31am UTC](https://discourse.paraview.org/t/pywebvue-cannot-run-paraview-contourgeometry-example/8620 "2021-12-14T07:31:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Trophime](https://discourse.paraview.org/user_avatar/discourse.paraview.org/trophime/32/966_2.png) [@Trophime](https://discourse.paraview.org/u/Trophime)
#### Post date: [December 14, 2021, 7:31am UTC](https://discourse.paraview.org/t/pywebvue-cannot-run-paraview-contourgeometry-example/8620/1 "2021-12-14T07:31:29Z")

</div>

Hi,  
I’m testing pywebvue project with Paraview 5.10 rc release.  
I have some trouble running Paraview ContourGeometry example:  
I have modified the paraview package from debian Testing to ship  
accelratedalgorithms plugin:

```auto
trophime@XXX:~/github/py-web-vue$ dpkg -L paraview | grep AcceleratedAlgorithms
/usr/lib/x86_64-linux-gnu/paraview-5.10/plugins/AcceleratedAlgorithms
/usr/lib/x86_64-linux-gnu/paraview-5.10/plugins/AcceleratedAlgorithms/AcceleratedAlgorithms.so

```

But still, I cannot run ContourGeometry example:

```auto
trophime@XXX:~/github/py-web-vue$ /usr/bin/pvpython3.9 ./examples/ParaView/ContourGeometry/DynamicLocalRemoteRendering/
app.py template.html  
trophime@XXX:~/github/py-web-vue$ /usr/bin/pvpython3.9 ./examples/ParaView/ContourGeometry/DynamicLocalRemoteRendering/app.py 
enableModule is deprecated, you should use 'enable_module' instead.
Traceback (most recent call last):
  File "/home/LNCMI-G/trophime/github/py-web-vue/./examples/ParaView/ContourGeometry/DynamicLocalRemoteRendering/app.py", line 37, in <module>
    simple.LoadDistributedPlugin("AcceleratedAlgorithms", remote=False, ns=globals())
  File "/usr/lib/python3/dist-packages/paraview/simple.py", line 2304, in LoadDistributedPlugin
    raise RuntimeError ("Plugin '%s' not found" % pluginname)
RuntimeError: Plugin 'AcceleratedAlgorithms' not found

```

What’s wrong with my settings?  
Do I miss some point?

Thanks for your help  
Best

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [December 14, 2021, 6:33pm UTC](https://discourse.paraview.org/t/pywebvue-cannot-run-paraview-contourgeometry-example/8620/2 "2021-12-14T18:33:33Z")

</div>

When running a ParaView example, you need to use `pvpython` from ParaView itself.  
You will need to use a `venv` to bring `pywebvue` as an add-on. You will also have to use [that file](https://github.com/Kitware/trame/blob/master/examples/ParaView/venv.py) to extend `pvpython` with your add-on venv.

On a side note, for any 5.10.RC you will need to use `pywebvue==2.4.5` while for the official release of 5.10 the latest of pywebvue will be fine.

Also **pywebvue** is mostly a building block for [**trame**](https://kitware.github.io/trame/) which should provide an even easier environment for building web application based on VTK/ParaView without leaving the Python environment.

You can find the matching examples of pywebvue in [trame example directory](https://github.com/Kitware/trame/tree/master/examples).

HTH
