Re: [Ryu-devel] Upgrading Ryu

2016-09-28 Thread Victor J. Orlikowski
On Wed, Sep 28, 2016, at 06:58 PM, Túlio Pascoal wrote: > To whom it may concern, > > Yes Iwase, the problem was in the virtual machine you cited and I was using > (OpenFlow Tutorial VM images). > > I installed Ryu by myself in another newer virtual machine and I could > upgrade it seamlessly. >

Re: [Ryu-devel] Upgrading Ryu

2016-09-28 Thread Túlio Pascoal
To whom it may concern, Yes Iwase, the problem was in the virtual machine you cited and I was using (OpenFlow Tutorial VM images). I installed Ryu by myself in another newer virtual machine and I could upgrade it seamlessly. Regards, -- Túlio Albuquerque Pascoal

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Túlio Pascoal
Yeah Victor, this situation is weird. I can run my Ryu this way: ryu@ryu-vm:~/ryu$ ./bin/ryu-manager ryu/app/simple_switch_13.py loading app ryu/app/simple_switch_13.py loading app ryu.controller.ofp_handler instantiating app ryu/app/simple_switch_13.py of SimpleSwitch13 instantiating app ryu.con

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Victor Orlikowski
The message you are receiving implies that the ryu-manager command cannot find where the needed modules it relies on are located. My best guess was the location I suggested in the PYTHONPATH, based on where ryu-manager had been installed. You will need to determine where the packages were insta

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Túlio Pascoal
Hi Victor, Please, check it: ryu@ryu-vm:~/ryu$ export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages ryu@ryu-vm:~/ryu$ ryu@ryu-vm:~/ryu$ ryu@ryu-vm:~/ryu$ /usr/local/bin/ryu-manager --version Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 9, in

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Victor Orlikowski
Try: export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages Then, try: /usr/local/bin/ryu-manager Best, Victor -- Victor J. Orlikowski <> vjo@[cs.]duke.edu On Aug 30, 2016, at 8:42 AM, Túlio Pascoal mailto:tuliopasc...@gmail.com>> wrote: File "/usr/local/lib/

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Túlio Pascoal
Hi Victor, thanks for the reply. This is what happens: ryu@ryu-vm:~$ /usr/local/bin/ryu-manager --version Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 9, in load_entry_point('ryu==4.5', 'console_scripts', 'ryu-manager')() File "/usr/local/lib/python2.7/dist-

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Victor Orlikowski
Rather than: ./bin/ryu-manager What happens when you try: /usr/local/bin/ryu-manager ? Based on the output below, ryu is being installed into /usr/local... Best, Victor -- Victor J. Orlikowski <> vjo@[cs.]duke.edu > On Aug 30, 2016, at 8:36 AM, Túlio Pascoal wrote: > > Installing ryu-m

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Túlio Pascoal
Hi Iwase, thanks for the reply. When I ran --version, I always got 3.6. It never gets updated. Please, see below: ryu@ryu-vm:~/ryu$ sudo pip install ryu --upgrade Downloading/unpacking ryu from https://pypi.python.org/packages/64/e7/1be893594f9d295745b3c214c1805fd34afe1ca76a9991dc4e68c91183a0/r

Re: [Ryu-devel] Upgrading Ryu

2016-08-30 Thread Iwase Yusuke
Hi, > Installing ryu-manager script to /usr/local/bin > Installing ryu script to /usr/local/bin > Successfully installed ryu > Cleaning up... These messages show Ryu have installed Successfully... Please confirm Ryu version as follows: $ ryu-manager --version ryu-manager 4.5 BTW, ar