ROS导入错误:没有名为asyncio的模块

2024-10-02 12:28:55 发布

您现在位置:Python中文网/ 问答频道 /正文

错误的图像

Image of the error

我最近在Windows中安装了ROS(Melodic)。但是使用任何catkin_工具命令都会显示以下错误:导入错误:没有名为asyncio的模块。我正在使用Python 2.7。我已经搜索过了,Python 3.5+的库中似乎有这个asyncio。但是标准安装(在ROS网站上给出)下载choclatey和python27amd64。如何对该问题进行排序


Tags: 模块工具图像命令asyncio标准排序网站
1条回答
网友
1楼 · 发布于 2024-10-02 12:28:55

正如我在asyncio github中看到的,asyncio只支持Python3:

asyncio requires Python 3.3 or later! The asyncio module is part of the Python standard library since Python 3.4.

因此,您将无法在python2.7中使用它

相关问题 更多 >

    热门问题