Re: [Ryu-devel] 'module' object has no attribute 'add_metaclass'

2014-07-13 Thread shailvi shah
Hi, At last, have got ryu working. I think, fresh install did the trick. Thanks, Wei for the help. - Shailvi On Sun, Jul 13, 2014 at 7:39 PM, shailvi shah wrote: > Hi, > > I just noticed that my pip show for six says 'Cannot locate > installed-files.txt', could that be a problem? > > pip sho

Re: [Ryu-devel] 'module' object has no attribute 'add_metaclass'

2014-07-13 Thread shailvi shah
Hi, I just noticed that my pip show for six says 'Cannot locate installed-files.txt', could that be a problem? pip show --files six --- Name: six Version: 1.7.3 Location: /usr/local/lib/python2.7/dist-packages Requires: Files: Cannot locate installed-files.txt just fyi, I have done a fresh insta

Re: [Ryu-devel] ryu topology viewer

2014-07-13 Thread Hisaharu Ishii
Hi, You need to install WebOb 1.2 or later to use gui_topology. execute: sudo pip install "WebOb>=1.2" and start ryu again. -- Hisaharu Ishii (2014年07月13日 18:35), [email protected] wrote: > I had downloaded ryu 3.6ova image, and do some necessary action according the > direction on openflow t

Re: [Ryu-devel] 'module' object has no attribute 'add_metaclass'

2014-07-13 Thread shailvi shah
Hi, Are these expected outputs? ryu@ryu-vm:/$ find /usr/lib/python2.*/dist-packages/ -name six -print ryu@ryu-vm:/$ find /usr/local/lib/python2.*/dist-packages/ -name six -print ryu@ryu-vm:/$ find /usr/local/lib/python2.*/site-packages/ -name six -print ryu@ryu-vm:/$ find /home/ryu/.local/lib/pyt

Re: [Ryu-devel] 'module' object has no attribute 'add_metaclass'

2014-07-13 Thread Wei-Li Tang
Hello, Hmm... It seems that there's an older version of six installed somewhere. Could you please search related paths for it? /usr/lib/python2.*/dist-packages/ /usr/local/lib/python2.*/dist-packages/ /usr/local/lib/python2.*/site-packages/ /home/ryu/.local/lib/python2.*/site-packages/ 2014-07-

Re: [Ryu-devel] 'module' object has no attribute 'add_metaclass'

2014-07-13 Thread Wei-Li Tang
Hello, What version of six you installed? add_metaclass requires six>=1.4.0. How about re-install a new one by pip? 2014-07-14 7:09 GMT+08:00 shailvi shah : > 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/

Re: [Ryu-devel] 'module' object has no attribute 'add_metaclass'

2014-07-13 Thread shailvi shah
Hi, Thanks, it worked. But it still hasn't solved the problem. I have six Version: 1.7.3. But when I run 'ryu-manager --verbose ryu.app.simple_switch_13', it still gives me Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 9, in load_entry_point('ryu==3.2', 'cons

Re: [Ryu-devel] 'module' object has no attribute 'add_metaclass'

2014-07-13 Thread Wei-Li Tang
Hello, How about uninstall six and reinstall it again? pip uninstall six pip install six>=1.4.0 If it didn't solve, try to build from tarball: https://pypi.python.org/pypi/six 2014-07-14 9:15 GMT+08:00 shailvi shah : > Hi, > > I have six 1.2, I tried to upgrade it using 'pip install --upgrade

Re: [Ryu-devel] 'module' object has no attribute 'add_metaclass'

2014-07-13 Thread shailvi shah
Hi, I have six 1.2, I tried to upgrade it using 'pip install --upgrade six'', but it' still showing six 1.2. Any workaround for this? Thanks, Shailvi On Sun, Jul 13, 2014 at 6:10 PM, Wei-Li Tang wrote: > Hello, > > What version of six you installed? add_metaclass requires six>=1.4.0. How > a

[Ryu-devel] 'module' object has no attribute 'add_metaclass'

2014-07-13 Thread shailvi shah
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 f

[Ryu-devel] ryu topology viewer

2014-07-13 Thread dida_327
I had downloaded ryu 3.6ova image, and do some necessary action according the direction on openflow tutorial. include : time sudo apt-get install python-eventlet python-routes python-webob python-paramiko git pull so i'm sure my ryu enviroment should be OK. then i start the ryu controller PYTHO