Page MenuHomePhabricator

Python wrapping might find inconsistent versions for lib and interpreter
Closed, WontfixPublic

Description

Found PythonInterp: /usr/bin/python (found version "2.7.15") 
CMake Error at /usr/local/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find PythonLibs: Found unsuitable version "3.6.7", but required
  is exact version "2.7.15" (found
  /usr/lib/x86_64-linux-gnu/libpython3.6m.so)
Call Stack (most recent call first):
  /usr/local/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:376 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake-3.13/Modules/FindPythonLibs.cmake:309 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMake/mitkLanguageOptions.cmake:40 (find_package)
  Wrapping/CMakeLists.txt:4 (include)

Maybe find both, interpreter and library, in one step to ensure consistency: find_package (Python COMPONENTS Interpreter Development).

Event Timeline

neher triaged this task as Normal priority.Dec 11 2018, 5:31 PM
neher created this task.
kislinsk removed goetzm as the assignee of this task.
kislinsk added a project: Auto-closed.
kislinsk added subscribers: goetzm, kislinsk.

Hi there! ๐Ÿ™‚

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. ๐Ÿš‘

Best wishes,
The MITK devs