# Superbuild error "Could NOT find Python3" with 5.6.0-RC2

**URL:** https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731
**Category:** ParaView Support
**Created:** [April 28, 2019, 3:11am UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731 "2019-04-28T03:11:46Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![gridley](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gridley/32/823_2.png) [@gridley](https://discourse.paraview.org/u/gridley)
#### Post date: [April 28, 2019, 3:11am UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731/1 "2019-04-28T03:11:46Z")

</div>

Hi all,

I get the error that superbuild can’t find Python3. This especially confuses me since I don’t use the system-provided python. I would expect superbuild to fetch is automatically.

Here are my cmake options:

cmake   
-DENABLE\_qt5:BOOL=OFF   
-DENABLE\_egl:BOOL=ON   
-DEGL\_INCLUDE\_DIR:PATH=/usr/lib/nvidia-384   
-DEGL\_LIBRARY:FILEPATH=/usr/lib/nvidia-384/libEGL.so   
-DEGL\_opengl\_LIBRARY:FILEPATH=/usr/lib/nvidia-384/libOpenGL.so   
-DEGL\_gldispatch\_LIBRARY:FILEPATH=/usr/lib/nvidia-384/libGLdispatch.so.0   
-DENABLE\_hdf5:BOOL=ON   
-DENABLE\_szip:BOOL=ON   
-DENABLE\_paraview:BOOL=ON   
-DENABLE\_mesa:BOOL=OFF   
-DENABLE\_ffmpeg:BOOL=ON   
-DPARAVIEW\_DEFAULT\_SYSTEM\_GL:BOOL=OFF   
-DENABLE\_mpi:BOOL=ON   
-DENABLE\_silo:BOOL=ON   
-DBUILD\_SHARED\_LIBS:BOOL=ON   
-Dvtkm\_SOURCE\_SELECTION:STRING=for-git   
-Dospray\_SOURCE\_SELECTION:STRING=for-git   
-DENABLE\_vtkm:BOOL=ON   
-DENABLE\_numpy:BOOL=ON   
-DENABLE\_paraviewusersguide:BOOL=OFF   
-DENABLE\_cosmotools:BOOL=OFF   
-DCMAKE\_BUILD\_TYPE:STRING=Release   
-DENABLE\_glu:BOOL=ON   
-DENABLE\_tbb:BOOL=OFF   
-DENABLE\_boost:BOOL=ON   
-DDIY\_SKIP\_SVN:BOOL=ON   
-DUSE\_NONFREE\_COMPONENTS:BOOL=ON   
-DENABLE\_matplotlib:BOOL=ON   
-DENABLE\_las:BOOL=OFF   
-DENABLE\_scipy:BOOL=ON   
-DENABLE\_ospray:BOOL=ON   
-DENABLE\_fontconfig:BOOL=ON   
-DUSE\_SYSTEM\_python:BOOL=OFF   
-DENABLE\_python:BOOL=ON   
-Dparaview\_SOURCE\_SELECTION:STRING=git   
…/paraview-superbuild

And here is the error:

CMake Error at /shared/opt/cmake-3.14.2-Linux-x86\_64/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):  
Could NOT find Python3 (missing: Python3\_EXECUTABLE Interpreter)  
Call Stack (most recent call first):  
/shared/opt/cmake-3.14.2-Linux-x86\_64/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:378 (\_FPHSA\_FAILURE\_MESSAGE)  
/shared/opt/cmake-3.14.2-Linux-x86\_64/share/cmake-3.14/Modules/FindPython/Support.cmake:1170 (find\_package\_handle\_standard\_args)  
/shared/opt/cmake-3.14.2-Linux-x86\_64/share/cmake-3.14/Modules/FindPython3.cmake:181 (include)  
CMakeLists.txt:783 (find\_package)

---

<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: [April 29, 2019, 7:18am UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731/2 "2019-04-29T07:18:32Z")

</div>

Why not trying with 5.6.0 ?

---

<div class="post-metadata">

### Author: ![gridley](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gridley/32/823_2.png) [@gridley](https://discourse.paraview.org/u/gridley)
#### Post date: [April 29, 2019, 1:48pm UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731/3 "2019-04-29T13:48:07Z")

</div>

That’s just the binary I happen to have downloaded on my laptop a while ago. Why not RC2?

---

<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: [April 29, 2019, 1:49pm UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731/4 "2019-04-29T13:49:33Z")

</div>

Because it is not a release. Please try with the latest release, 5.6.0.

---

<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 29, 2019, 2:32pm UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731/5 "2019-04-29T14:32:20Z")

</div>

The superbuild doesn’t support Python3 at the moment (building it or consuming it), sorry. It’s on the plan for the next spring release at the latest.

---

<div class="post-metadata">

### Author: ![gridley](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gridley/32/823_2.png) [@gridley](https://discourse.paraview.org/u/gridley)
#### Post date: [April 29, 2019, 2:40pm UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731/6 "2019-04-29T14:40:47Z")

</div>

Thanks @ben.boeckel and @mwestphal. So, when I try to build 5.6.0 now, I get this ospray error:

```
CMake Error at VTK/Rendering/RayTracing/CMakeLists.txt:52 (find_package):
Could not find a configuration file for package "ospray" that is compatible
with requested version "1.8".

The following configuration files were considered but not accepted:

/shared/opt/parabuild/install/lib/cmake/ospray-1.6.1/osprayConfig.cmake, version: 1.6.1

```

Shouldn’t superbuild be grabbing the right ospray version? Or is there a cmake flag I’m missing? I only used -DENABLE\_ospray=ON and -Dospray\_SOURCE\_SELECTION:STRING=for-git .

---

<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 29, 2019, 5:27pm UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731/7 "2019-04-29T17:27:19Z")

</div>

Did you choose the 5.6.0 selection for ParaView? It’s best to use the `v5.6.0-1` superbuild tag rather than `master`. For various reasons, `master` can drift and move ahead of what older ParaView sources expect.

---

<div class="post-metadata">

### Author: ![gridley](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gridley/32/823_2.png) [@gridley](https://discourse.paraview.org/u/gridley)
#### Post date: [April 29, 2019, 5:31pm UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731/8 "2019-04-29T17:31:10Z")

</div>

Yeah, apparently. When I tried not using ospray, I instead got this error:

sed: can’t read /shared/opt/parabuild/install/lib/cmake/paraview-5.6/Modules/vtkCommonCore.cmake: No such file or directory  
CMake Error at /shared/opt/paraview-superbuild/projects/scripts/paraview.fixupcmakepaths.cmake:39 (message):  
Failed to patch  
/shared/opt/parabuild/install/lib/cmake/paraview-5.6/Modules/vtkCommonCore.cmake

I’ll let you know if the tag you suggested does the trick. Thanks so much!

---

<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 29, 2019, 5:41pm UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731/9 "2019-04-29T17:41:46Z")

</div>

I’ll note that the readme mentions this: [https://gitlab.kitware.com/paraview/paraview-superbuild/#building-a-specific-version](https://gitlab.kitware.com/paraview/paraview-superbuild/#building-a-specific-version). Is there someplace we should put it to be more prominent? Or maybe we should be more proactive in removing release selections once we’re pretty sure they’re not going to work for “common” cases?

---

<div class="post-metadata">

### Author: ![gridley](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gridley/32/823_2.png) [@gridley](https://discourse.paraview.org/u/gridley)
#### Post date: [April 29, 2019, 5:55pm UTC](https://discourse.paraview.org/t/superbuild-error-could-not-find-python3-with-5-6-0-rc2/1731/10 "2019-04-29T17:55:31Z")

</div>

Oh, I am at fault for not reading into that more. Unfortunately, I just skimmed and expected it to work. Thanks for pointing that out.
