# pvpluginbuilder fails to find python

**URL:** https://discourse.paraview.org/t/pvpluginbuilder-fails-to-find-python/7881
**Category:** ParaView Support
**Created:** [August 27, 2021, 11:30pm UTC](https://discourse.paraview.org/t/pvpluginbuilder-fails-to-find-python/7881 "2021-08-27T23:30:12Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [August 27, 2021, 11:30pm UTC](https://discourse.paraview.org/t/pvpluginbuilder-fails-to-find-python/7881/1 "2021-08-27T23:30:12Z")

</div>

I was able to successfully build paraview superbuild v5.9.0 with the pv plugin builder on linux. I attempted to build my plugin and received this error message:

 ![pythonError](https://discourse.paraview.org/uploads/default/original/2X/7/7b66c4f458e9431b4d903c14ec669ae50722ce8b.png)

Any help would be appreciated

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 30, 2021, 7:31am UTC](https://discourse.paraview.org/t/pvpluginbuilder-fails-to-find-python/7881/2 "2021-08-30T07:31:31Z")

</div>

Are you able to build your plugin outside of the ppb ?

---

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [August 30, 2021, 1:47pm UTC](https://discourse.paraview.org/t/pvpluginbuilder-fails-to-find-python/7881/3 "2021-08-30T13:47:45Z")

</div>

Yes it works fine when building against a locally compiled version of paraview, I have never seen this error.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 30, 2021, 1:51pm UTC](https://discourse.paraview.org/t/pvpluginbuilder-fails-to-find-python/7881/4 "2021-08-30T13:51:52Z")

</div>

Are you able to build any examples plugin with the ppb ?

---

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [August 30, 2021, 6:05pm UTC](https://discourse.paraview.org/t/pvpluginbuilder-fails-to-find-python/7881/5 "2021-08-30T18:05:11Z")

</div>

I was able to build some of the examples. I tried commenting out the line: `find\_package(PythonLibs REQUIRED)’ in my cmakelists.txt and the build ran successfully, however when trying to load the plugin with the official release of paraview v5.9.0 on linux, it did not load properly. I received this error:

‘ERROR: In /builds/gitlab-kitware-sciviz-ci/build/superbuild/paraview/src/Remoting/Core/vtkPVPluginLoader.cxx, line 530  
vtkPVPluginLoader (0x17b1d580): libOpenGL.so.0: cannot open shared object file: No such file or directory’

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 31, 2021, 8:15am UTC](https://discourse.paraview.org/t/pvpluginbuilder-fails-to-find-python/7881/6 "2021-08-31T08:15:58Z")

</div>

ldd yourFile.so

---

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [September 1, 2021, 5:29pm UTC](https://discourse.paraview.org/t/pvpluginbuilder-fails-to-find-python/7881/7 "2021-09-01T17:29:00Z")

</div>

Idd? Here is my .so  
[pvOptAirfoil.so](https://discourse.paraview.org/uploads/short-url/2Mu5oyK3Lshak15MT8mTKKzc6fT.so) (358.7 KB)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 2, 2021, 7:42am UTC](https://discourse.paraview.org/t/pvpluginbuilder-fails-to-find-python/7881/8 "2021-09-02T07:42:32Z")

</div>

Just install libOpenGL on your system. On ubuntu that would be:

```auto
sudo apt install libopengl0 

```
