Colcon build error

asked 2022-05-30 17:17:44 -0600

MarkZy gravatar image

Hey, I'm new to Ros2 and ubuntu, but im following ros2 tutorials, and i'v a problem with colcon. i installed it as instructed but when i try to use $colcon build i get this ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.environment_variable.powershell_command': (pytest 4.6.9 (/usr/lib/python3/dist-packages), Requirement.parse('pytest>=5.3'), {'pytest-rerunfailures'}) Traceback (most recent call last): File "/home/mark/.local/lib/python3.8/site-packages/colcon_core/entry_point.py", line 120, in load_entry_points extension_type = load_entry_point(entry_point) File "/home/mark/.local/lib/python3.8/site-packages/colcon_core/entry_point.py", line 166, in load_entry_point return entry_point.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2444, in load self.require(args, *kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2467, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 792, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (pytest 4.6.9 (/usr/lib/python3/dist-packages), Requirement.parse('pytest>=5.3'), {'pytest-rerunfailures'})

ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.environment_variable.defaults': (pytest 4.6.9 (/usr/lib/python3/dist-packages), Requirement.parse('pytest>=5.3'), {'pytest-rerunfailures'}) Traceback (most recent call last): File "/home/mark/.local/lib/python3.8/site-packages/colcon_core/entry_point.py", line 120, in load_entry_points extension_type = load_entry_point(entry_point) File "/home/mark/.local/lib/python3.8/site-packages/colcon_core/entry_point.py", line 166, in load_entry_point return entry_point.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2444, in load self.require(args, *kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2467, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 792, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (pytest 4.6.9 (/usr/lib/python3/dist-packages), Requirement.parse('pytest>=5.3'), {'pytest-rerunfailures'})

ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.environment_variable.all_shells': (pytest 4.6.9 (/usr/lib/python3/dist-packages), Requirement.parse('pytest>=5.3'), {'pytest-rerunfailures'}) Traceback (most recent call last): File "/home/mark/.local/lib/python3.8/site-packages/colcon_core/entry_point.py", line 120, in load_entry_points extension_type = load_entry_point(entry_point) File "/home/mark/.local/lib/python3.8/site-packages/colcon_core/entry_point.py", line 166, in load_entry_point return entry_point.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2444, in load self.require(args, *kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2467, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 792, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (pytest 4.6.9 (/usr/lib/python3/dist-packages), Requirement.parse('pytest>=5.3'), {'pytest-rerunfailures'})

ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.environment_variable.default_executor': (pytest 4.6.9 (/usr/lib/python3/dist-packages), Requirement.parse('pytest>=5.3'), {'pytest-rerunfailures'}) Traceback (most recent call last): File "/home/mark/.local/lib/python3.8/site-packages/colcon_core/entry_point.py", line 120, in load_entry_points extension_type = load_entry_point(entry_point) File "/home/mark/.local/lib/python3.8/site-packages/colcon_core ... (more)

edit retag flag offensive close merge delete