You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: I set the local python version: pyenv local 3.x.x, and tried configuring.
Running ./configure.sh --python in a directory with a local python version fails with the following message (CMake does not pick up local python include directories):
CMake Error at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
(Required is at least version "3.11.8")
Call Stack (most recent call first):
/usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.20/Modules/FindPythonLibs.cmake:310 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:148 (find_package)
Issue: I set the local python version:
pyenv local 3.x.x, and tried configuring.Running
./configure.sh --pythonin a directory with a local python version fails with the following message (CMake does not pick up local python include directories):Similar issue here: #24
Proposed fix: dynamically grab python include paths in the configure script.