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
After I install all requirements and run catkin_make. The opentera_webrtc_ros CMakeLists.txt in line 42 'add_definitions(-DWEBRTC_POSIX)' outputs the following error:
-- opentera-webrtc-native-client Version : 1.1.3 CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find Python: Found unsuitable version "3.8", but required is exact version "3.8.10" (found _Python_EXECUTABLE-NOTFOUND) Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.16/Modules/FindPython/Support.cmake:2214 (find_package_handle_standard_args) /usr/share/cmake-3.16/Modules/FindPython.cmake:304 (include) opentera-webrtc-ros/opentera_webrtc_ros/opentera-webrtc/CMakeLists.txt:42 (find_package)
Any advice how I can force to accept 3.8 which is the default in Ubuntu 20.04.
I tried installing 3.8.10 but breaks other things in ROS noetic.
Thanks
The text was updated successfully, but these errors were encountered:
I am encountering a similar issue while attempting to build the opentera_webrtc_ros package. When executing catkin_make after installing all requirements, the process fails with the following error:
-- opentera-webrtc-native-client Version : 1.1.3
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Python: Found unsuitable version "3.8", but required is
exact version "3.8.10" (found _Python_EXECUTABLE-NOTFOUND)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindPython/Support.cmake:2214 (find_package_handle_standard_args)
/usr/share/cmake-3.16/Modules/FindPython.cmake:304 (include)
opentera-webrtc-ros/opentera_webrtc_ros/opentera-webrtc/CMakeLists.txt:37 (find_package)
-- Configuring incomplete, errors occurred!
See also "CMakeFiles/CMakeOutput.log".
See also "CMakeFiles/CMakeError.log".
Invoking "cmake" failed
I have attempted to address this issue by setting the PYTHON_INCLUDE_DIR variable to '/usr/bin/python3', but the problem persists. Additionally, when I check the Python version using 'python --version' or '/usr/bin/python3 --version', it confirms that Python 3.8.10 is installed.
Python 3.8.10 is the default on desktop Ubuntu 20.04. If you have another 3.8, your system might not be up to date.
We actually had a bunch of problems with finding the right Python version from CMake. What we do (here) is we invoke python3 --version to get the system (ROS) version of Python, then ask CMake to find that exact version.
Make sure that you have Python development files (python3-dev) installed too. That might be the problem here.
Hello,
After I install all requirements and run catkin_make. The opentera_webrtc_ros CMakeLists.txt in line 42 'add_definitions(-DWEBRTC_POSIX)' outputs the following error:
-- opentera-webrtc-native-client Version : 1.1.3 CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find Python: Found unsuitable version "3.8", but required is exact version "3.8.10" (found _Python_EXECUTABLE-NOTFOUND) Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:391 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.16/Modules/FindPython/Support.cmake:2214 (find_package_handle_standard_args) /usr/share/cmake-3.16/Modules/FindPython.cmake:304 (include) opentera-webrtc-ros/opentera_webrtc_ros/opentera-webrtc/CMakeLists.txt:42 (find_package)
Any advice how I can force to accept 3.8 which is the default in Ubuntu 20.04.
I tried installing 3.8.10 but breaks other things in ROS noetic.
Thanks
The text was updated successfully, but these errors were encountered: