CMake Error at C:/ci/ws/install/share/ament_cmake_python/cmake/ament_cmake_python-extras.cmake:61 (message):
execute_process( -c 'from distutils.sysconfig import get_python_lib;import
os;print(os.path.relpath(get_python_lib(prefix='C:/ci/ws/install'),
start='C:/ci/ws/install').replace(os.sep, '/'))') returned error code The
parameter is incorrect
Call Stack (most recent call first):
C:/ci/ws/install/share/ament_cmake_python/cmake/ament_cmake_python-extras.cmake:22 (_ament_cmake_python_get_python_install_dir)
C:/ci/ws/install/share/ament_cmake_python/cmake/ament_python_install_package.cmake:27 (_ament_cmake_python_register_environment_hook)
CMakeLists.txt:39 (ament_python_install_package)
Bug report
Required Info:
Steps to reproduce issue
rclpy is failing on CI (nightly_win_deb since build 1899) during cmake configuration. The reported error comes from
ament_cmake_pythonwhile it's trying to setPYTHON_EXECUTABLE.Expected behavior
Builds successfully
Actual behavior
Build fails