-
Notifications
You must be signed in to change notification settings - Fork 51
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
ImportError: No module named ryu.lib.packet #655
Comments
I think you want |
Oops. Install Ryu like this,
and then try again? |
I think you need to use the version of Ryu with Python 2.7. Maybe try the from-source instructions here? |
I have successfully solved the above problem by installing version 2.14.0 of Ovs before installing ryu. This is because the latest version of Ovs will generate errors when installed in the Python 2 environment. Recently, I have been following the guide manual to further learn and use frenetic, but I have encountered errors when compiling the vlan2. py file. How can I solve this problem? |
I assume this is from Chapter 5 of the manual. Can you share the content of |
Yes, this is indeed the content of Chapter 5 of the manual. The mn_custom_topo.py file was also obtained from https://github.com/frenetic-lang/manual/blob/master/programmers_guide/code/handling_vlans/mn_custom_topo.py After I run this topology file, the following information is displayed. |
This seems to be a bug with the way VLAN'd packets are being created. I'm afraid I don't have the cycles to debug it now. I mention that in case you want to dig in. The Python code should create packets on the right VLAN. But apparently it's not. You could use TCPdump or Wireshark to see what packets are hitting the wire, and then debug from there. |
I am now able to use French for simple network orchestration, but I still generate errors when compiling the learning. py file. Could you please help me solve this problem?
The text was updated successfully, but these errors were encountered: