[Paraview] python mismatch with superbuild on os x

Cory Quammen cory.quammen at kitware.com
Wed Jan 24 23:35:36 EST 2018


On Wed, Jan 24, 2018 at 12:57 PM, Sgouros, Thomas
<thomas_sgouros at brown.edu> wrote:
> Hello:
>
> I unpacked a version of the Paraview-v5.4.1 tarball, and then did git clone
> of the superbuild right next to it. So I have this:
>
> $ ls
> ParaView-v5.4.1
> paraview-superbuild
> $ mkdir paraview-superbuild-build
> $ cd paraview-superbuild-build
> $ ccmake ../paraview-superbuild
>
> There is a mismatch between the python it wants and the python on my system
> so the configure step will not run and gives this error:
>
>    Python interpreter version (2.7.13) does not match the library version
> (2.7.10)
>
> The /usr/bin/python on my system is 2.7.10. What's it complaining about?
> There are other Pythons on my system. I changed my $PATH so /usr/bin is
> first, and deleted the contents of the paraview-superbuild-build directory
> and that seems to have taken care of it.
>
> This doesn't seem like the right solution to me, posting here either to help
> someone else with the same problem, or so that some developer of the
> superbuild can fix this.

I have encountered the same problem with the interpreter version
differing from the library version while having a homebrew Python
installed on my system. Perhaps there is an opportunity for a bug fix
in CMake's FindPythonInterp.cmake and FindPythonLibs.cmake files.

For now, what you have done is a reasonable workaround.

Thanks,
Cory


> Thank you,
>
>  -Tom
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://paraview.org/mailman/listinfo/paraview
>



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.


More information about the ParaView mailing list