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>
Sent: 30 July 2020 14:30
To: Vural, Serdar Dr (Elec Electronic Eng) <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%7C668627bd05d44f4f3bb208d8348cc267%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C0%7C637317126447773359&sdata=MOVC1aAzx5SGVoXCHg2FZ0CAcV%2FkEZzHeLvXwLy6auc%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%7C668627bd05d44f4f3bb208d8348cc267%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C0%7C637317126447778349&sdata=WfExqM48pwYhtnHCitQWe%2BaHJ5eOoUGLdxgsyTXP%2FMU%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%7C668627bd05d44f4f3bb208d8348cc267%7C6b902693107440aa9e21d89446a2ebb5%7C0%7C0%7C637317126447783345&sdata=rSAYtujxn3w2iVQTpUA6yOVC1vXXHZ%2B9QCi7QoBkKWA%3D&reserved=0>
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to