title: ImportError: No module named oslo_config.cfg - Ryu App
body: <p>I am running a sample Ryu application as outlined here: <a href="https://ryu-zhdoc.readthedocs.org/en/latest/writing_ryu_app.html" rel="nofollow noreferrer">https://ryu-zhdoc.readthedocs.org/en/latest/writing_ryu_app.html</a></p>
  
  <p>But I am getting the following error:</p>
  
  <pre><code>     Traceback (most recent call last):
    File "/usr/local/bin/ryu-manager", line 9, in &lt;module&gt;
      load_entry_point('ryu==3.29.1', 'console_scripts', 'ryu-manager')()
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
      return get_distribution(dist).load_entry_point(group, name)
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
      return ep.load()
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
      entry = __import__(self.module_name, globals(),globals(), ['__name__'])
    File "/usr/local/lib/python2.7/dist-packages/ryu/cmd/manager.py", line 31, in &lt;module&gt;
      from ryu import cfg
    File "/usr/local/lib/python2.7/dist-packages/ryu/cfg.py", line 17, in &lt;module&gt;
      import oslo_config.cfg
  ImportError: No module named oslo_config.cfg
  </code></pre>
  
  <p>I have already tried the following commands and none have resolved my issue yet:</p>
  
  <pre><code>sudo pip install oslo.config
  sudo apt-get upgrade python-oslo.config
  sudo apt-get install python-oslo python-netaddr
  </code></pre>
  
  <p>I am just beginning to familiarize myself with Ryu and appreciate any pointers to resolve this issue. Thanks!</p>
  
  <p><a href="https://i.stack.imgur.com/gtnxQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gtnxQ.png" alt="Error after importing oslo"></a></p>