sdn - pkg_resources.DistributionNotFound for Ryu-oe -


my goal have optical linc switch running , use ryu-oe control it. receive following error when try run ryu-oe instruction this link.

ryu-oe ryu controller optical extensions.

    file "/usr/local/bin/ryu-manager", line 5, in <module>     pkg_resources import load_entry_point   file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module>     working_set = workingset._build_master()   file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in _build_master     return cls._build_from_requirements(__requires__)   file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in _build_from_requirements     dists = ws.resolve(reqs, environment())   file "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve     raise distributionnotfound(req) pkg_resources.distributionnotfound: msgpack-python>=0.4.0 

anyone knows how can solve error?

ok seems problem solved. honest don't know how solved. here of commands ran:

make sure in ryu-oe directory.

sudo -h ./run_tests.sh  sudo ./run_tests.sh  sudo -h python ./setup.py install 

and ran sudo ryu-manager ~/ryu-oe/ryu/app/ofctl_rest.py.

let me know 1 worked come better answer.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -