Dear,

I need a help to execute my Python modules with Ryu. It was working
properly for a long time but i needed to create another machine to use it
because my cloud instance was deleted by the Cloud provider and i don't
know why. I wrote down the versions of each module i used and reinstalled
them, including in the case of Ryu (version 4.26). I'm using Ubuntu 16.04
and Python 2.7 and when i run my module using the ryu-manager my_module.py
i receive the following error:

loading app my_module.py
Traceback (most recent call last):
  File "/usr/local/bin/ryu-manager", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/ryu/cmd/manager.py", line
98, in main
    app_mgr.load_apps(app_lists)
  File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py",
line 415, in load_apps
    cls = self.load_app(app_cls_name)
  File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py",
line 392, in load_app
    mod = utils.import_module(name)
  File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 104, in
import_module
    return importlib.import_module(modname)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
*ImportError: No module named my_module.py*

Anyone can help to find what can be happening and how can I overcome this
problem?

Since now, Thanks for help.
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to