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
Finding the Development component for Python (e.g. with FindPython3) fails if libpython isn't found.
However, it is ok for libpython not to exist if you simply want to compile Python extensions (as opposed to embedding Python in an application).
For example, the official Docker manylinux build images don't include libpython, to shrink the image size.
(see pypa/manylinux#484)
Finding the Development component for Python (e.g. with
FindPython3) fails if libpython isn't found.However, it is ok for libpython not to exist if you simply want to compile Python extensions (as opposed to embedding Python in an application).
For example, the official Docker manylinux build images don't include libpython, to shrink the image size.
(see pypa/manylinux#484)
src: https://gitlab.kitware.com/cmake/cmake/-/issues/20425
In order to fix it we need to bump to CMake 3.18 and use
Development.Module...note:
Development.Moduleis use to look for python header only since library is not available on manylinux.note2: Development.Module has been introduced in CMake 3.18
ref: https://cmake.org/cmake/help/latest/module/FindPython3.html
The text was updated successfully, but these errors were encountered: