[Smtk-developers] Homebrew Python

David Thompson david.thompson at kitware.com
Wed Apr 4 12:48:51 EDT 2018


Hi all,

For those of you using homebrew python to build SMTK/CMB, be aware that "brew upgrade" will switch to python3, which causes build problems[1] at the moment.

	David


[1]:
CMake Error at /pulsar/build/cmb/superbuild/superbuild/paraview/src/VTK/CMake/FindPythonLibs.cmake:183 (FILE):
  FILE STRINGS file
  "/usr/local/Frameworks/Python.framework/Headers/patchlevel.h" cannot be
  read.
Call Stack (most recent call first):
  thirdparty/smtk/CMakeLists.txt:325 (find_package)


CMake Error at /usr/local/Cellar/cmake/3.9.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find PythonInterp: Found unsuitable version "1.4", but required
  is at least "2.7" (found /usr/local/bin/python2.7)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.9.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:375 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.9.2/share/cmake/Modules/FindPythonInterp.cmake:152 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  thirdparty/smtk/CMakeLists.txt:326 (find_package)



More information about the Smtk-developers mailing list