Hi,
I am a beginner with SDN and ryu. In order to develop an SDN app, i was
following the tutorial from
https://github.com/osrg/ryu/wiki/OpenFlow_Tutorial, to start with.
While trying to run 'PYTHONPATH=. ./bin/ryu-manager
ryu/app/simple_switch.py' from xterm controller window, I am getting the
following
Traceback (most recent call last):
File "/usr/local/bin/ryu-manager", line 9, in <module>
load_entry_point('ryu==3.2', 'console_scripts', 'ryu-manager')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 343, in
load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2307, in
load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2013, in
load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/home/ryu/ryu/ryu/cmd/manager.py", line 43, in <module>
from ryu.topology import switches
File "/home/ryu/ryu/ryu/topology/switches.py", line 32, in <module>
from ryu.lib.packet import packet, ethernet, lldp
File "/home/ryu/ryu/ryu/lib/packet/__init__.py", line 6, in <module>
from . import (ethernet, arp, icmp, icmpv6, ipv4, ipv6, lldp, mpls,
packet,
File "/home/ryu/ryu/ryu/lib/packet/ethernet.py", line 17, in <module>
from . import packet_base
File "/home/ryu/ryu/ryu/lib/packet/packet_base.py", line 21, in <module>
@six.add_metaclass(abc.ABCMeta)
AttributeError: 'module' object has no attribute 'add_metaclass'
Google search recommended to install six, that I did, but it's still the
same.
Any workaround?
Thanks,
Shailvi
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel