Autoware related problem. Runtime manager and roscore only flash then disappear and leave no error massage.
I am trying to run Autoware after completing the installation instruction from the github: ( https://github.com/autowarefoundation... ) but when I ran ~/Autoware/ros$ ./run the run time manager and roscore windows only popped up then dissapearred immediately. I use the docker for installation and docker hub "as is" for Autoware docker setup. I have checked the CUDA nvidia-docker service with: $ sudo nvidia-docker run --rm nvidia/cuda nvidia-smi and it works judging by the output about driver version, CUDA version, GPU, etc. However, when I ran ~/Autoware/ros$ ./colcon_release, I got colcon build failure.
[0.170s] ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.package_identification.python': No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 98, in load_entry_points
extension_type = load_entry_point(entry_point)
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 140, in load_entry_point
return entry_point.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/colcon_core/package_identification/python.py", line 12, in <module>
from setuptools.config import read_configuration
ImportError: No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
[0.173s] ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.package_identification.python_setup_py': No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 98, in load_entry_points
extension_type = load_entry_point(entry_point)
File "/usr/lib/python3/dist-packages/colcon_core/entry_point.py", line 140, in load_entry_point
return entry_point.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/colcon_python_setup_py/package_identification/python_setup_py.py", line 20, in <module>
from colcon_core.package_identification.python import \
File "/usr/lib/python3/dist-packages/colcon_core/package_identification/python.py", line 12, in <module>
from setuptools.config import read_configuration
ImportError: No module named 'setuptools.config', 'setuptools' needs to be at least version 30.3.0, if a newer version is not available from the package manager use 'pip3 install -U setuptools' to update to the latest version
Starting >>> autoware_build_flags
Starting >>> autoware_msgs
Starting >>> autoware_config_msgs
Starting >>> tablet_socket_msgs
Starting >>> adi_driver
Starting >>> as
Starting >>> astar_search
Starting >>> autoware_bag_tools
Starting >>> autoware_can_msgs
Starting >>> autoware_driveworks_gmsl_interface
Starting >>> autoware_health_checker
Starting >>> autoware_launcher
--- stderr: autoware_bag_tools
CMake Error at CMakeLists.txt:4 (find_package):
By not providing "Findcatkin.cmake ...
It looks like you are missing two things:
setuptools
is not installed in your docker image.Under the "Autoware Docker Setup" section from the instructions you linked to, which method did you follow?