mininet中安装ryu过程中出现的问题

安装过程看这里:http://linton.tw/2014/02/15/note-install-ryu-36-sdn-framework/

用pip安装完后运行命令ryu-manager后,出现如下错误:

<pre class="python" name="code">root@ubuntu:/home/zsj# ryu --version
Traceback (most recent call last):
  File "/usr/local/bin/ryu", line 5, in <module>
    from 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 632, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (six 1.5.2 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.9.0'))


解决办法:

<pre class="python" name="code">root@ubuntu:/home/zsj# pip install --upgrade six
Downloading/unpacking six from https://pypi.python.org/packages/3.3/s/six/six-1.9.0-py2.py3-none-any.whl#md5=9ac7e129a80f72d6fc1f0216f6e9627b
  Downloading six-1.9.0-py2.py3-none-any.whl
Installing collected packages: six
  Found existing installation: six 1.5.2
    Not uninstalling six at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed six
Cleaning up...
root@ubuntu:/home/zsj# ryu --version
ryu 3.23.2





阅读更多
文章标签: pip sdn ryu six
个人分类: sdn
上一篇让非root用户能使用wireshark捕捉网络数据包
下一篇RYU入门教程
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭