gpt4 book ai didi

ubuntu - 无法在 ubuntu 20.04 上运行 catkin build

转载 作者:行者123 更新时间:2023-12-04 19:25:07 44 4
gpt4 key购买 nike

我有 Ubuntu 20.04 我刚刚安装了 ROS 有意识的和柳絮。
但是每次我做catkin build我有一个错误列表,无法继续。你们能帮我解决这个问题吗?

Traceback (most recent call last):
File "/usr/local/bin/catkin", line 5, in <module>
from catkin_tools.commands.catkin import main
File "/usr/local/lib/python3.8/dist-packages/catkin_tools/commands/catkin.py", line 28, in <module>
from catkin_tools.common import is_tty
File "/usr/local/lib/python3.8/dist-packages/catkin_tools/common.py", line 23, in <module>
import trollius as asyncio
File "/usr/local/lib/python3.8/dist-packages/trollius/__init__.py", line 21, in <module>
from .base_events import *
File "/usr/local/lib/python3.8/dist-packages/trollius/base_events.py", line 42, in <module>
from . import tasks
File "/usr/local/lib/python3.8/dist-packages/trollius/tasks.py", line 565
def async(coro_or_future, loop=None):
^
SyntaxError: invalid syntax

最佳答案

apt and pip3 versions of catkin_tools are broken for noetic.Workaround is to install like this:

sudo pip3 install git+https://github.com/catkin/catkin_tools.git

引用; https://github.com/Rayman/ros-get/issues/95

关于ubuntu - 无法在 ubuntu 20.04 上运行 catkin build,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71990979/

44 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com