太阳好刺眼 2022-03-06 11:11 采纳率: 0%
浏览 271

ubantu16.04 启动ryu-manager时报错

Traceback (most recent call last):
File "/usr/local/bin/ryu-manager", line 9, in
load_entry_point('ryu==4.34', 'console_scripts', 'ryu-manager')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2229, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2235, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/ryu/cmd/manager.py", line 33, in
from ryu.app import wsgi
File "/usr/local/lib/python2.7/dist-packages/ryu/app/wsgi.py", line 23, in
from tinyrpc.server import RPCServer
File "/usr/local/lib/python2.7/dist-packages/tinyrpc/init.py", line 4, in
from .protocols import *
File "/usr/local/lib/python2.7/dist-packages/tinyrpc/protocols/init.py", line 15
def init(self) -> None:
^
SyntaxError: invalid syntax

  • 写回答

3条回答 默认 最新

  • 与编程不共戴天 2023-03-17 08:22
    关注

    怎么解决的啊?

    评论

报告相同问题?

问题事件

  • 创建了问题 3月6日

悬赏问题

  • ¥15 pnpm 下载element-plus
  • ¥15 解决编写PyDracula时遇到的问题
  • ¥15 有没有人能解决下这个问题吗,本人不会编程
  • ¥15 plotBAPC画图出错
  • ¥30 关于#opencv#的问题:使用大疆无人机拍摄水稻田间图像,拼接成tif图片,用什么方法可以识别并框选出水稻作物行
  • ¥15 Python卡尔曼滤波融合
  • ¥20 iOS绕地区网络检测
  • ¥15 python验证码滑块图像识别
  • ¥15 根据背景及设计要求撰写设计报告
  • ¥20 能提供一下思路或者代码吗