Thanks for the reply, Sujay. We are indeed running several Ryu controllers on Ubuntu 16.04 platforms with Python 2.7. However, these were installed during the last two-three years. We wanted to set up new systems with fresh Ubuntu 16.04, which comes with Python 2.7 and Python 3.5, and followed the installation steps outlined on the Ryu page, yet could not achieve to have a working system with either 2.7 or 3.5. Just a feedback to the community. Have not tried on an Ubuntu 18.04 system yet.
Cheers, Serdar From: Sujay Hegde <sujayss...@gmail.com> Sent: 31 July 2020 13:54 To: Vural, Serdar Dr (Elec Electronic Eng) <s.vu...@surrey.ac.uk> Subject: Re: [Ryu-devel] Errors in the ryu controller Ryu works with python 2.7 I'm using it on Ubuntu 16.04 I Suggest to upgrade to Ubuntu 18.04 And a use python 3.5 and above as 2.7 is deprecated On Fri, 31 Jul 2020, 3:41 pm Serdar Vural via Ryu-devel, <ryu-devel@lists.sourceforge.net<mailto:ryu-devel@lists.sourceforge.net>> wrote: Hi, thanks for the reply and the link. We’ve found out that Ryu no longer works with Python 2.7 or Python 3.5 (on Ubuntu 16.04 OS). We’ve solved the issue by running Ryu in a virtual environment where we have Python 3.7. Regards, Serdar From: Aymen AlAwadi <aymen.alaw...@gmail.com<mailto:aymen.alaw...@gmail.com>> Sent: 30 July 2020 14:30 To: Vural, Serdar Dr (Elec Electronic Eng) <s.vu...@surrey.ac.uk<mailto:s.vu...@surrey.ac.uk>> Subject: Re: [Ryu-devel] Errors in the ryu controller Hi, Try to install it in Ubuntu 16.04.04 LTS. Follow this tutorial: https://github.com/knetsolutions/learn-sdn-with-ryu/blob/master/sdn_test_bed_setup.md<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fknetsolutions%2Flearn-sdn-with-ryu%2Fblob%2Fmaster%2Fsdn_test_bed_setup.md&data=02%7C01%7Cs.vural%40surrey.ac.uk%7Cab37996a0c4a4e64ec3f08d83550c347%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C1%7C637317968277541352&sdata=NhZFUFCZnSaOHWjvlgqQUYrYouyT8AYN9aZVPEM5Ymc%3D&reserved=0> Thanks and Regards, Aymen On Thu, Jul 30, 2020 at 3:20 PM Serdar Vural via Ryu-devel <ryu-devel@lists.sourceforge.net<mailto:ryu-devel@lists.sourceforge.net>> wrote: Hello, I’m facing the exact same issue as in below – could you please direct me for a solution. This is an Ubuntu 16.04 system (comes with Python 3.5 and Python2.7 by default). Followed the instructions on https://github.com/faucetsdn/ryu<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffaucetsdn%2Fryu&data=02%7C01%7Cs.vural%40surrey.ac.uk%7Cab37996a0c4a4e64ec3f08d83550c347%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C1%7C637317968277551345&sdata=PRZKZCn4FjySlwlhxxly2zz4ddpbsaoqyxIJb0Px304%3D&reserved=0> Kind Regards, Serdar From: brajesh umrao <brajeshumra...@gmail.com<mailto:brajeshumra...@gmail.com>> Sent: 22 July 2020 00:18 To: Ryu-devel@lists.sourceforge.net<mailto:Ryu-devel@lists.sourceforge.net> Subject: [Ryu-devel] Errors in the ryu controller Dear sir, I, Brajesh Kumar Umrao currently working as a research scholar at MNNIT, Allahabad U.P., India. I am facing a problem while installing the ryu controller. Kindly, suggest proper solution. brajesh@brajesh:~/ryu$ PYTHONPATH=. ./bin/ryu-manager ryu.app.simple_switch Traceback (most recent call last): File "./bin/ryu-manager", line 18, in <module> from ryu.cmd.manager import main File "/home/brajesh/ryu/ryu/cmd/manager.py", line 22, in <module> from ryu.lib import hub File "/home/brajesh/ryu/ryu/lib/hub.py", line 19, in <module> from ryu.lib import ip File "/home/brajesh/ryu/ryu/lib/ip.py", line 19, in <module> import netaddr ImportError: No module named netaddr brajesh@brajesh:~/ryu$ ryu-manager Traceback (most recent call last): File "/home/brajesh/.local/bin/ryu-manager", line 7, in <module> from ryu.cmd.manager import main File "/home/brajesh/.local/lib/python3.5/site-packages/ryu/cmd/manager.py", line 22, in <module> from ryu.lib import hub File "/home/brajesh/.local/lib/python3.5/site-packages/ryu/lib/hub.py", line 30, in <module> import eventlet File "/home/brajesh/.local/lib/python3.5/site-packages/eventlet/__init__.py", line 10, in <module> from eventlet import convenience File "/home/brajesh/.local/lib/python3.5/site-packages/eventlet/convenience.py", line 7, in <module> from eventlet.green import socket File "/home/brajesh/.local/lib/python3.5/site-packages/eventlet/green/socket.py", line 21, in <module> from eventlet.support import greendns File "/home/brajesh/.local/lib/python3.5/site-packages/eventlet/support/greendns.py", line 64, in <module> setattr(dns, pkg, import_patched('dns.' + pkg)) File "/home/brajesh/.local/lib/python3.5/site-packages/eventlet/support/greendns.py", line 59, in import_patched return patcher.import_patched(module_name, **modules) File "/home/brajesh/.local/lib/python3.5/site-packages/eventlet/patcher.py", line 126, in import_patched *additional_modules + tuple(kw_additional_modules.items())) File "/home/brajesh/.local/lib/python3.5/site-packages/eventlet/patcher.py", line 100, in inject module = __import__(module_name, {}, {}, module_name.split('.')[:-1]) File "/home/brajesh/.local/lib/python3.5/site-packages/dns/asyncbackend.py", line 41 raise NotImplementedError(f'unimplemented async backend {name}') ^ -- Thanks & Regards Brajesh Kumar Umrao, Research Scholar, CSED, MNNIT Allahabad, Allahabad (U.P.) Mo.: +91 988 9639 175 _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net<mailto:Ryu-devel@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/ryu-devel<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fryu-devel&data=02%7C01%7Cs.vural%40surrey.ac.uk%7Cab37996a0c4a4e64ec3f08d83550c347%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C1%7C637317968277561340&sdata=V2BOZbnSft8NBUiQ5Lbdm1BV2EdzEUKKhNgLEQLZrzo%3D&reserved=0> _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net<mailto:Ryu-devel@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/ryu-devel<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fryu-devel&data=02%7C01%7Cs.vural%40surrey.ac.uk%7Cab37996a0c4a4e64ec3f08d83550c347%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C1%7C637317968277561340&sdata=V2BOZbnSft8NBUiQ5Lbdm1BV2EdzEUKKhNgLEQLZrzo%3D&reserved=0>
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel