小编Ale*_*nto的帖子

Python错误:AttributeError:__enter__

尝试运行代码时收到属性错误。

    with ParamExample(URI) as pe:
    with MotionCommander(pe, default_height=0.3)as mc:
Run Code Online (Sandbox Code Playgroud)

这是发生错误的地方。

Traceback (most recent call last):
File "test44.py", line 156, in <module>
with ParamExample(URI) as pe:
AttributeError: __enter__
Run Code Online (Sandbox Code Playgroud)

那是我在终端中收到的回溯。如果您需要查看更多我的代码,请告诉我。任何帮助表示赞赏,谢谢!

python python-3.x crazyflie

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

crazyflie ×1

python ×1

python-3.x ×1