Importerror:没有名为ryu.cmd.manager的模块
我想尝试命令:pythonpath =。 ./bin/ryu-manager ryu/app/simple_switch.py在ryu控制器中,这是我收到的错误消息:
Traceback (most recent call last):
File "./bin/ryu-manager", line 18, in <module>
from ryu.cmd.manager import main
ImportError: No module named ryu.cmd.manager
我正在使用ubuntu 18.04.4 lts,python 2.7.17和ryu 4.34
I wanted to try the command: pythonpath=. ./bin/ryu-manager ryu/app/simple_switch.py in ryu controller and this is the error message i got :
Traceback (most recent call last):
File "./bin/ryu-manager", line 18, in <module>
from ryu.cmd.manager import main
ImportError: No module named ryu.cmd.manager
I am using Ubuntu 18.04.4 LTS, python 2.7.17 and ryu 4.34
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道这是否会有所帮助,我也是新手。
尝试不使用Python,而是直接运行Ryu-Manager命令。
喜欢:
可能是您正在像这样
一样运行,但是尝试直接运行Ryu-Manager:
I don't know if this will help, I am new to this too.
try running not using python, but run ryu-manager command directly.
Like:
May Be you are running like this
But try running ryu-manager directly like this: