<div dir="ltr"><div><div><div>Hi,<br><br></div>I don't know if there is a proper fix but there is a CMake option to bypass this check:<br> set PYTHON_I_KNOW_WHAT_IM_DOING to true may solve the problem.<br></div><br></div>Nicolas<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-25 5:35 GMT+01:00 Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Jan 24, 2018 at 12:57 PM, Sgouros, Thomas<br>
<<a href="mailto:thomas_sgouros@brown.edu">thomas_sgouros@brown.edu</a>> wrote:<br>
> Hello:<br>
><br>
> I unpacked a version of the Paraview-v5.4.1 tarball, and then did git clone<br>
> of the superbuild right next to it. So I have this:<br>
><br>
> $ ls<br>
> ParaView-v5.4.1<br>
> paraview-superbuild<br>
> $ mkdir paraview-superbuild-build<br>
> $ cd paraview-superbuild-build<br>
> $ ccmake ../paraview-superbuild<br>
><br>
> There is a mismatch between the python it wants and the python on my system<br>
> so the configure step will not run and gives this error:<br>
><br>
> Python interpreter version (2.7.13) does not match the library version<br>
> (2.7.10)<br>
><br>
> The /usr/bin/python on my system is 2.7.10. What's it complaining about?<br>
> There are other Pythons on my system. I changed my $PATH so /usr/bin is<br>
> first, and deleted the contents of the paraview-superbuild-build directory<br>
> and that seems to have taken care of it.<br>
><br>
> This doesn't seem like the right solution to me, posting here either to help<br>
> someone else with the same problem, or so that some developer of the<br>
> superbuild can fix this.<br>
<br>
</span>I have encountered the same problem with the interpreter version<br>
differing from the library version while having a homebrew Python<br>
installed on my system. Perhaps there is an opportunity for a bug fix<br>
in CMake's FindPythonInterp.cmake and FindPythonLibs.cmake files.<br>
<br>
For now, what you have done is a reasonable workaround.<br>
<br>
Thanks,<br>
Cory<br>
<br>
<br>
> Thank you,<br>
><br>
> -Tom<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="https://paraview.org/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://paraview.org/mailman/<wbr>listinfo/paraview</a><br>
><br>
<br>
<br>
<br>
--<br>
Cory Quammen<br>
Staff R&D Engineer<br>
Kitware, Inc.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://paraview.org/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://paraview.org/mailman/<wbr>listinfo/paraview</a><br>
</blockquote></div><br></div>