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
The text was updated successfully, but these errors were encountered:
pawsaw
changed the title
Installation with Cmake: Doesn't build with python3.12 or higher: ModuleNotFoundError: No module named 'imp'
Build with Cmake: Doesn't build with python3.12 or higher: ModuleNotFoundError: No module named 'imp'
Feb 17, 2024
This was happening in future egg but was corrected in 0.18.4 release: PythonCharmers/python-future#632 (well 1.0.0 release because there is no 0.18.4 version on PyPI).
Problem description
In my projects CMakeLists.txt:
If cmake picks Python 3.12 (or higher) the build fails:
[cmake] ModuleNotFoundError: No module named 'imp'
imp has been removed in Python 3.12
Expected behavior
Works with Python >= 3.12
Side note:
I tried with
in cmake. However, this seems not to apply to dependencies as fetched by FetchContent_*
Idea
to the MavSDK CMakeLists.txt fixes the issue?
The text was updated successfully, but these errors were encountered: