SHARE
TWEET

Untitled

a guest Sep 22nd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cs551@mininet-vm:~/code$ ls
  2. ryu_controller.py   start_mininet.py  topology.pyc  topology_bus.txt     topology_star.txt
  3. ryu_controller.pyc  topology.py       topology.txt  topology_circle.txt
  4.  
  5. cs551@mininet-vm:~/code$ ryu-manager ryu_controller.py
  6. loading app ryu_controller.py
  7. Traceback (most recent call last):
  8.   File "/usr/local/bin/ryu-manager", line 9, in <module>
  9.     load_entry_point('ryu==4.32', 'console_scripts', 'ryu-manager')()
  10.   File "/usr/local/lib/python2.7/dist-packages/ryu/cmd/manager.py", line 98, in main
  11.     app_mgr.load_apps(app_lists)
  12.   File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 415, in load_apps
  13.     cls = self.load_app(app_cls_name)
  14.   File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 392, in load_app
  15.     mod = utils.import_module(name)
  16.   File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 104, in import_module
  17.     return importlib.import_module(modname)
  18.   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
  19.     __import__(name)
  20. ImportError: No module named ryu_controller.py
  21.  
  22. cs551@mininet-vm:~/code$ ryu-manager $pwd/ryu_controller.py
  23. loading app /ryu_controller.py
  24. Traceback (most recent call last):
  25.   File "/usr/local/bin/ryu-manager", line 9, in <module>
  26.     load_entry_point('ryu==4.32', 'console_scripts', 'ryu-manager')()
  27.   File "/usr/local/lib/python2.7/dist-packages/ryu/cmd/manager.py", line 98, in main
  28.     app_mgr.load_apps(app_lists)
  29.   File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 415, in load_apps
  30.     cls = self.load_app(app_cls_name)
  31.   File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 392, in load_app
  32.     mod = utils.import_module(name)
  33.   File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 108, in import_module
  34.     return importlib.import_module(modname)
  35.   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
  36.     __import__(name)
  37. ImportError: Import by filename is not supported.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top