본문 바로가기

Simulation/CARLA

Carla Autoware (3)- dependencies 설치

Autoware 설치 매뉴얼에 적혀 있는  Dependencies 들이 엄청 많다.

https://autowarefoundation.github.io/autoware-documentation/galactic/installation/autoware/source-installation/#installing-dependencies-manually

 

Source installation - Autoware Documentation

Source installation Prerequisites ROS For ROS 2 system dependencies, refer to REP-2000. sudo apt-get -y update sudo apt-get -y install git How to set up a development environment Clone autowarefoundation/autoware and move to the directory. git clone https:

autowarefoundation.github.io

 

위 항목에 적힌 링크를 일일이 들어가 설치해주었다.

여기서 주의해야할 점은, Input이라고 적힌 변수들을 내 환경에 맞게 적용해주어야한다는 것이다.

 

Manual Installation의 첫 번째라인이 Input을 설정해주는 라인인데, 그대로 따라하면 버전이 다르게 변수에 입력될 가능성이 높기때문에 직접 지정해주는 것이 낫다. -> 레포지토리의 amd64.env 파일을 source하여 사용

 

 

 

그리고 rosdep install을 수행하기전 rosdep update를 수행하는데, 이때 galactic이 EOL 버전이기 때문에 --include-eol-distors 옵션을 포함하여야한다.

rosdep update --include-eol-distros

 

 

 

Build error (...Invalid version : 0.23ubuntu1 .../  setuptools deprecated..)   -> setuptools version issue

stderr: simulator_compatibility_test
/home/sure2/.local/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/home/sure2/.local/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(
Traceback (most recent call last):
File "setup.py", line 11, in
setup(
File "/home/sure2/.local/lib/python3.8/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/sure2/.local/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/sure2/.local/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/sure2/.local/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/sure2/.local/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/home/sure2/.local/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.ensure_finalized()
File "/home/sure2/.local/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
self.finalize_options()
File "/home/sure2/.local/lib/python3.8/site-packages/setuptools/command/develop.py", line 52, in finalize_options
easy_install.finalize_options(self)
File "/home/sure2/.local/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 311, in finalize_options
self.local_index = Environment(self.shadow_path + sys.path)
File "/home/sure2/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 1044, in init
self.scan(search_path)
File "/home/sure2/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 1077, in scan
self.add(dist)
File "/home/sure2/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 1096, in add
dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
File "/home/sure2/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 2631, in hashcmp
self.parsed_version,
File "/home/sure2/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 2678, in parsed_version
self._parsed_version = parse_version(self.version)
File "/home/sure2/.local/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/version.py", line 266, in init
raise InvalidVersion(f"Invalid version: '{version}'")
pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '0.23ubuntu1'

 

'Simulation > CARLA' 카테고리의 다른 글

Autoware installation  (0) 2023.01.20
ROS2 기초(2)  (0) 2023.01.13
ROS2 기초  (0) 2023.01.11
Carla Autoware(2)-CUDA/cuDNN/TensorRT 설치  (0) 2023.01.05
Carla Autoware(1)-ROS2 설치  (0) 2022.11.24