[Paraview] python mismatch with superbuild on os x
Nicolas Vuaille
nicolas.vuaille at kitware.com
Thu Jan 25 05:40:40 EST 2018
Hi,
I don't know if there is a proper fix but there is a CMake option to bypass
this check:
set PYTHON_I_KNOW_WHAT_IM_DOING to true may solve the problem.
Nicolas
2018-01-25 5:35 GMT+01:00 Cory Quammen <cory.quammen at kitware.com>:
> 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.
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://paraview.org/pipermail/paraview/attachments/20180125/a2740d76/attachment.html>
More information about the ParaView
mailing list