Problem installing drivability-checker "ModuleNotFoundError: No module named 'setup_options'"

Hello,
I have problems during the installation of the package and I seem to can’t find a solution.
Currently trying to install the package on ubuntu with python 3.7 on arm64 architecture.
I would be very thankful for any help

(commonroad-py37) luca@sa:~/anaconda3/envs/commonroad-py37/commonroad-drivability-checker$ pip install commonroad-drivability-checker==2022.1
Collecting commonroad-drivability-checker==2022.1
  Using cached commonroad-drivability-checker-2022.1.tar.gz (10.1 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  \u00d7 python setup.py egg_info did not run successfully.
  \u2502 exit code: 1
  \u2570\u2500> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 36, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-k4ws43jd/commonroad-drivability-checker_17ab74b7b3c94ae381255573dfebd6d6/setup.py", line 8, in <module>
          from setup_options import setup_options_dict
      ModuleNotFoundError: No module named 'setup_options'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

\u00d7 Encountered error while generating package metadata.
\u2570\u2500> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Hi,

which version of pip are you using in your conda environment? (pip --version). With older versions of pip (<21.3) there were some issues, that the prebuilt wheel on PyPi was not discovered correctly. Could you try upgrading to the latest pip version via python -m pip install --upgrade pip ?

Best,
Gerald

Hi Gerald thank you for replying.

pip version is:

pip 22.1.2 from /home/luca/anaconda3/envs/commonroad-py37/lib/python3.7/site-packages/pip (python 3.7)

which is the latest version, --upgrade pip did only return
Requirement already satisfied

Hi,

I just checked and we currently don’t have a wheel for the drivability checker for arm64 platforms. In order to create such a wheel one would have to build the project on a arm64 platform, which we don’t have access to.

You could try to build the project from source by cloning the git repository and following the installation instructions in the documentation. Since we do not have a computer with arm64 architecture running Ubuntu, we don’t know if it will compile without errors. We would therefore appreciate your feedback on that once you’ve tried it.

Best,
Gerald

Hi Gerald,

that was my suggestion all along. I will try to build a working wheel on ubuntu arm64.
Since I only run Ubuntu as a VM there is always the option to run the package on OS arm64 with python3.8. Do you have any experience with the package on Mac OS and arm64 (M1pro).

Thanks a lot for your help,
Luca

Hi Luca,

we have wheels for MacOS (python 3.6-3.9) in PyPi. Previous users were able to install and run them successfully on the latest MacBooks with M1 chip. Let us know in case you run into issues with that.

Best,
Gerald

Hi Gerald,

that’s good news. I moved to ubuntu because i couldn’t install the package on mac OS in the first place.
I may will still try to build a wheel on ubuntu arm64 but it would be great if we could find out why I can’t get it running on my Mac OS arm64 as well. I post the very long and extended error message in two messages down below. This ones coming from MacOS arm64 with python 3.8. I also installed Cmake, Eigen and boost with homebrew. Can you see where this issue is coming from ?

Best,

Luca

(commonroad-py38) MBP-von-Luca:commonroad-reactive-planner lucatroncone$ pip install commonroad-drivability-checker>=2021.4
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [416 lines of output]
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
        warnings.warn(
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.macosx-11.1-arm64-cpython-38
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc
      copying commonroad_dc/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc
      running egg_info
      writing commonroad_drivability_checker.egg-info/PKG-INFO
      writing dependency_links to commonroad_drivability_checker.egg-info/dependency_links.txt
      writing requirements to commonroad_drivability_checker.egg-info/requires.txt
      writing top-level names to commonroad_drivability_checker.egg-info/top_level.txt
      reading manifest file 'commonroad_drivability_checker.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      writing manifest file 'commonroad_drivability_checker.egg-info/SOURCES.txt'
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.boundary' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.boundary' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.boundary' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.boundary' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.collision' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.collision' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.collision' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.collision' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.collision.collision_detection' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.collision.collision_detection' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.collision.collision_detection' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.collision.collision_detection' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.collision.trajectory_queries' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.collision.trajectory_queries' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.collision.trajectory_queries' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.collision.trajectory_queries' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.collision.visualization' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.collision.visualization' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.collision.visualization' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.collision.visualization' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.costs' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.costs' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.costs' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.costs' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.feasibility' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.feasibility' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.feasibility' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.feasibility' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.geometry' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.geometry' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.geometry' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.geometry' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/boundary.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/construction.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/lanelet_bounds.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/rectangle_builder.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/scenario_bounds.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/triangle_builder.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision
      copying commonroad_dc/collision/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/collision_detection
      copying commonroad_dc/collision/collision_detection/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/collision_detection
      copying commonroad_dc/collision/collision_detection/minkowski_sum.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/collision_detection
      copying commonroad_dc/collision/collision_detection/pycrcc_collision_dispatch.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/collision_detection
      copying commonroad_dc/collision/collision_detection/scenario.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/collision_detection
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/trajectory_queries
      copying commonroad_dc/collision/trajectory_queries/trajectory_queries.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/trajectory_queries
      copying commonroad_dc/collision/trajectory_queries/trajectory_queries_specialized.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/trajectory_queries
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/visualization
      copying commonroad_dc/collision/visualization/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/visualization
      copying commonroad_dc/collision/visualization/drawing.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/visualization
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/costs
      copying commonroad_dc/costs/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/costs
      copying commonroad_dc/costs/evaluation.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/costs
      copying commonroad_dc/costs/partial_cost_functions.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/costs
      copying commonroad_dc/costs/route_matcher.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/costs
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/feasibility
      copying commonroad_dc/feasibility/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/feasibility
      copying commonroad_dc/feasibility/feasibility_checker.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/feasibility
      copying commonroad_dc/feasibility/solution_checker.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/feasibility
      copying commonroad_dc/feasibility/vehicle_dynamics.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/feasibility
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/geometry
      copying commonroad_dc/geometry/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/geometry
      copying commonroad_dc/geometry/geometry.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/geometry
      copying commonroad_dc/geometry/lanelet_ccosy.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/geometry
      copying commonroad_dc/geometry/util.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/geometry
      running build_ext
      ['-DPYTHON_INCLUDE_DIR=/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/include/python3.8', '-DPYTHON_LIBRARY=', '-DPYTHON_EXECUTABLE=/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/bin/python', '-DBUILD_DOC=OFF', '-DADD_TESTS=OFF', '-DADD_TRIANGLE=OFF', '-DADD_PYTHON_BINDINGS=ON']
      -- The C compiler identification is AppleClang 13.1.6.13160021
      -- The CXX compiler identification is AppleClang 13.1.6.13160021
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build
      [  2%] Creating directories for 'libccd'
      [  5%] No download step for 'libccd'
      [  7%] No update step for 'libccd'
      [ 10%] No patch step for 'libccd'
      [ 12%] Performing configure step for 'libccd'
      CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
      
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
      
      
      -- The C compiler identification is AppleClang 13.1.6.13160021
      -- The CXX compiler identification is AppleClang 13.1.6.13160021
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Performing Test COMPILER_SUPPORTS_VISIBILITY
      -- Performing Test COMPILER_SUPPORTS_VISIBILITY - Success
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/superbuild/Build/libccd
      [ 15%] Performing build step for 'libccd'
      [ 16%] Building C object src/CMakeFiles/ccd.dir/ccd.c.o
      [ 33%] Building C object src/CMakeFiles/ccd.dir/mpr.c.o
      [ 50%] Building C object src/CMakeFiles/ccd.dir/polytope.c.o
      [ 66%] Building C object src/CMakeFiles/ccd.dir/support.c.o
      [ 83%] Building C object src/CMakeFiles/ccd.dir/vec3.c.o
      [100%] Linking C static library libccd.a
      [100%] Built target ccd
      [ 17%] Performing install step for 'libccd'
      Consolidate compiler generated dependencies of target ccd
      [100%] Built target ccd
      Install the project...
      -- Install configuration: "Release"
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/ccd/ccd-config.cmake
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/ccd/ccd-config-version.cmake
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/pkgconfig/ccd.pc
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/share/doc/ccd/BSD-LICENSE
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/libccd.a
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/ccd.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/compiler.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/ccd_export.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/quat.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/vec3.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/config.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/ccd/ccd-targets.cmake
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/ccd/ccd-targets-release.cmake
      [ 20%] Completed 'libccd'
      [ 20%] Built target libccd
      [ 22%] Creating directories for 'fcl'
      [ 25%] No download step for 'fcl'
      [ 27%] No update step for 'fcl'
      [ 30%] No patch step for 'fcl'
      [ 32%] Performing configure step for 'fcl'
      -- The CXX compiler identification is AppleClang 13.1.6.13160021
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Set RPATH explicitly to '/private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib'
      -- FCL uses OctoMap
      -- Performing Test COMPILER_SUPPORTS_VISIBILITY
      -- Performing Test COMPILER_SUPPORTS_VISIBILITY - Success
      -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
      -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
      -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
      -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
      -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
      -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/superbuild/Build/fcl
      [ 35%] Performing build step for 'fcl'
      [  0%] Building CXX object src/CMakeFiles/fcl.dir/broadphase/broadphase_SSaP.cpp.o
      clang: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument]
      clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
      clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument]
      clang: warning: argument unused during compilation: '-mssse3' [-Wunused-command-line-argument]
      error: unknown FP unit 'sse'
      make[5]: *** [src/CMakeFiles/fcl.dir/broadphase/broadphase_SSaP.cpp.o] Error 1
      make[4]: *** [src/CMakeFiles/fcl.dir/all] Error 2
      make[3]: *** [all] Error 2
      make[2]: *** [superbuild/Stamp/fcl/fcl-build] Error 2
      make[1]: *** [CMakeFiles/fcl.dir/all] Error 2
      make: *** [all] Error 2
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/setup.py", line 175, in <module>
          setup(
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
          self.run_command(cmd)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
          cmd_obj.run()
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
          self.run_command('build')
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
          self.distribution.run_command(command)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
          cmd_obj.run()
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build.py", line 24, in run
          super().run()
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 132, in run
          self.run_command(cmd_name)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
          self.distribution.run_command(command)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
          cmd_obj.run()
        File "/private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/setup.py", line 42, in run
          self.build_extension(ext)
        File "/private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/setup.py", line 142, in build_extension
          subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=build_dir)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/subprocess.py", line 364, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--target', 'install']' returned non-zero exit status 2.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for commonroad-drivability-checker
  error: subprocess-exited-with-error
  × Running setup.py install for commonroad-drivability-checker did not run successfully.
  │ exit code: 1
  ╰─> [420 lines of output]
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
        warnings.warn(
      running install
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build/lib.macosx-11.1-arm64-cpython-38
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc
      copying commonroad_dc/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc
      running egg_info
      writing commonroad_drivability_checker.egg-info/PKG-INFO
      writing dependency_links to commonroad_drivability_checker.egg-info/dependency_links.txt
      writing requirements to commonroad_drivability_checker.egg-info/requires.txt
      writing top-level names to commonroad_drivability_checker.egg-info/top_level.txt
      reading manifest file 'commonroad_drivability_checker.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      writing manifest file 'commonroad_drivability_checker.egg-info/SOURCES.txt'
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.boundary' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.boundary' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.boundary' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.boundary' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.collision' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.collision' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.collision' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.collision' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.collision.collision_detection' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.collision.collision_detection' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.collision.collision_detection' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.collision.collision_detection' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.collision.trajectory_queries' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.collision.trajectory_queries' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.collision.trajectory_queries' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.collision.trajectory_queries' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.collision.visualization' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.collision.visualization' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.collision.visualization' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.collision.visualization' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.costs' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.costs' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.costs' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.costs' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.feasibility' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.feasibility' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.feasibility' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.feasibility' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'commonroad_dc.geometry' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'commonroad_dc.geometry' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'commonroad_dc.geometry' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'commonroad_dc.geometry' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/boundary.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/construction.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/lanelet_bounds.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/rectangle_builder.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/scenario_bounds.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      copying commonroad_dc/boundary/triangle_builder.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/boundary
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision
      copying commonroad_dc/collision/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/collision_detection
      copying commonroad_dc/collision/collision_detection/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/collision_detection
      copying commonroad_dc/collision/collision_detection/minkowski_sum.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/collision_detection
      copying commonroad_dc/collision/collision_detection/pycrcc_collision_dispatch.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/collision_detection
      copying commonroad_dc/collision/collision_detection/scenario.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/collision_detection
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/trajectory_queries
      copying commonroad_dc/collision/trajectory_queries/trajectory_queries.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/trajectory_queries
      copying commonroad_dc/collision/trajectory_queries/trajectory_queries_specialized.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/trajectory_queries
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/visualization
      copying commonroad_dc/collision/visualization/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/visualization
      copying commonroad_dc/collision/visualization/drawing.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/collision/visualization
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/costs
      copying commonroad_dc/costs/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/costs
      copying commonroad_dc/costs/evaluation.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/costs
      copying commonroad_dc/costs/partial_cost_functions.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/costs
      copying commonroad_dc/costs/route_matcher.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/costs
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/feasibility
      copying commonroad_dc/feasibility/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/feasibility
      copying commonroad_dc/feasibility/feasibility_checker.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/feasibility
      copying commonroad_dc/feasibility/solution_checker.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/feasibility
      copying commonroad_dc/feasibility/vehicle_dynamics.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/feasibility
      creating build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/geometry
      copying commonroad_dc/geometry/__init__.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/geometry
      copying commonroad_dc/geometry/geometry.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/geometry
      copying commonroad_dc/geometry/lanelet_ccosy.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/geometry
      copying commonroad_dc/geometry/util.py -> build/lib.macosx-11.1-arm64-cpython-38/commonroad_dc/geometry
      running build_ext
      ['-DPYTHON_INCLUDE_DIR=/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/include/python3.8', '-DPYTHON_LIBRARY=', '-DPYTHON_EXECUTABLE=/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/bin/python', '-DBUILD_DOC=OFF', '-DADD_TESTS=OFF', '-DADD_TRIANGLE=OFF', '-DADD_PYTHON_BINDINGS=ON']
      -- The C compiler identification is AppleClang 13.1.6.13160021
      -- The CXX compiler identification is AppleClang 13.1.6.13160021
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build
      [  2%] Creating directories for 'libccd'
      [  5%] No download step for 'libccd'
      [  7%] No update step for 'libccd'
      [ 10%] No patch step for 'libccd'
      [ 12%] Performing configure step for 'libccd'
      CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 2.8.12 will be removed from a future version of
        CMake.
      
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
      
      
      -- The C compiler identification is AppleClang 13.1.6.13160021
      -- The CXX compiler identification is AppleClang 13.1.6.13160021
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Performing Test COMPILER_SUPPORTS_VISIBILITY
      -- Performing Test COMPILER_SUPPORTS_VISIBILITY - Success
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/superbuild/Build/libccd
      [ 15%] Performing build step for 'libccd'
      [ 16%] Building C object src/CMakeFiles/ccd.dir/ccd.c.o
      [ 33%] Building C object src/CMakeFiles/ccd.dir/mpr.c.o
      [ 50%] Building C object src/CMakeFiles/ccd.dir/polytope.c.o
      [ 66%] Building C object src/CMakeFiles/ccd.dir/support.c.o
      [ 83%] Building C object src/CMakeFiles/ccd.dir/vec3.c.o
      [100%] Linking C static library libccd.a
      [100%] Built target ccd
      [ 17%] Performing install step for 'libccd'
      Consolidate compiler generated dependencies of target ccd
      [100%] Built target ccd
      Install the project...
      -- Install configuration: "Release"
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/ccd/ccd-config.cmake
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/ccd/ccd-config-version.cmake
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/pkgconfig/ccd.pc
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/share/doc/ccd/BSD-LICENSE
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/libccd.a
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/ccd.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/compiler.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/ccd_export.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/quat.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/vec3.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/include/ccd/config.h
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/ccd/ccd-targets.cmake
      -- Installing: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib/ccd/ccd-targets-release.cmake
      [ 20%] Completed 'libccd'
      [ 20%] Built target libccd
      [ 22%] Creating directories for 'fcl'
      [ 25%] No download step for 'fcl'
      [ 27%] No update step for 'fcl'
      [ 30%] No patch step for 'fcl'
      [ 32%] Performing configure step for 'fcl'
      -- The CXX compiler identification is AppleClang 13.1.6.13160021
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Set RPATH explicitly to '/private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/install/lib'
      -- FCL uses OctoMap
      -- Performing Test COMPILER_SUPPORTS_VISIBILITY
      -- Performing Test COMPILER_SUPPORTS_VISIBILITY - Success
      -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
      -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
      -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
      -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
      -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
      -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/build/temp.macosx-11.1-arm64-cpython-38/build/superbuild/Build/fcl
      [ 35%] Performing build step for 'fcl'
      [  0%] Building CXX object src/CMakeFiles/fcl.dir/broadphase/broadphase_SSaP.cpp.o
      clang: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument]
      clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
      clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument]
      clang: warning: argument unused during compilation: '-mssse3' [-Wunused-command-line-argument]
      error: unknown FP unit 'sse'
      make[5]: *** [src/CMakeFiles/fcl.dir/broadphase/broadphase_SSaP.cpp.o] Error 1
      make[4]: *** [src/CMakeFiles/fcl.dir/all] Error 2
      make[3]: *** [all] Error 2
      make[2]: *** [superbuild/Stamp/fcl/fcl-build] Error 2
      make[1]: *** [CMakeFiles/fcl.dir/all] Error 2
      make: *** [all] Error 2
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/setup.py", line 175, in <module>
          setup(
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
          self.run_command(cmd)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
          cmd_obj.run()
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/install.py", line 68, in run
          return orig.install.run(self)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/command/install.py", line 692, in run
          self.run_command('build')
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
          self.distribution.run_command(command)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
          cmd_obj.run()
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/command/build.py", line 24, in run
          super().run()
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 132, in run
          self.run_command(cmd_name)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
          self.distribution.run_command(command)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
          cmd_obj.run()
        File "/private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/setup.py", line 42, in run
          self.build_extension(ext)
        File "/private/var/folders/vq/yb7g1hj94txcxkd7t14xvhf40000gn/T/pip-install-p87z8rvw/commonroad-drivability-checker_1653abb950fd4b019349543a767c462d/setup.py", line 142, in build_extension
          subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=build_dir)
        File "/Users/lucatroncone/opt/miniconda3/envs/commonroad-py38/lib/python3.8/subprocess.py", line 364, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--target', 'install']' returned non-zero exit status 2.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> commonroad-drivability-checker

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

So finally I have a solution to the installation problems on ubuntu arm64.

  1. Download the package files from GitHub with git clone https://gitlab.lrz.de/tum-cps/commonroad-drivability-checker.git, make sure you are in the correct directory where you want to install the package files. For me I chose the root folder of my anaconda environment “~/anaconda3/envs/commonroad-py37”
  2. Follow the steps for installing the C++ interface Installation of the C++ interface — CommonRoad Drivability Checker 2022.1 documentation, with the hint that for me the final build step with
    cmake --build . -- -j JOB_COUNT only worked when I left the “build-debug” directory and went back to the commonroad-drivability-checker root folder.
  3. Open …/commonroad-drivability-checker/third_party/fcl/CMakeLists.txt and delete all entries
    (-mfpmath=sse -msse -msse2 -msse3 -mssse3) for SSE_FLAGS in line 93.
  4. Follow the manual build instructions on Installation of the Python interface — CommonRoad Drivability Checker 2022.1 documentation.

This worked for me with simulating Ubuntu 22.04.1 LTS with UTM on my MacOS Monterey 12.6 with M1Pro (arm64).

2 Likes

Hi,

Please try the following steps to install drivability checker on a MacOS computer with Apple M1 CPU.

  1. Install Anaconda for MacOS (Anaconda | Anaconda Distribution)

Please use the 64-Bit Installer (Graphical or Command Line) and not the 64-Bit (M1) installer. Only anaconda for x86 platform is supported. It works well on MacOS M1 machines.

  1. Create the python environment.

conda create -n commonroad python=3.9
conda activate commonroad

  1. Install the drivability checker.

pip install commonroad-drivability-checker

Please let us know if it works for you. A similar method worked earlier on MacOS M1 for 100% of users who tested it with a previous version of drivability checker.