Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with incompatibility issues between ryu and mininet #149

Open
JohnPaulCosmas opened this issue Jul 2, 2021 · 1 comment
Open

Comments

@JohnPaulCosmas
Copy link

when running mininet with ryu remote controller I always get the following:
i@raspberrypi:/home $ ryu-manager --version
Traceback (most recent call last):
File "/usr/local/bin/ryu-manager", line 6, in
from ryu.cmd.manager import main
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

How can I get a ryu version 4.34 that is compatible with the mininet version 2.2.2 that I am using?

@ElisaRojas
Copy link
Member

Hi @JohnPaulCosmas ,
Sorry for the delay. At this point, you might have already figured it out, but this problem is directly related with the tinyrpc and eventlet libraries, as Ryu requires some specific versions of these libraries to work. In particular, you should do the following:

pip uninstall tinyrpc
pip install tinyrpc==0.8

pip uninstall eventlet
pip install eventlet==0.30.2

If you just reinstall tinyrpc, you might have another (different) problem with eventlet, so that is why I have also included a reinstallation for eventlet (even if this does not appear in your current log). You can try to execute one first, and then the other, or both together :)

I hope it helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants