Reinstalling Nameko caused 'ImportError: No module named dnskeybase'

Hi Guys,

I originally had Nameko working nicely under python3. Then when I realised my wxPython application was never going to play nicely with python3 without a lot of work, I reinstalled under python 2, like this:

python2.7 -m pip install --user nameko

And now, evening after many uninstalls and reinstalls of the various modules, I still get:

Traceback (most recent call last):
  File "", line 99, in <module>
    import Arduino_v2
  File "/home/astronom/x-Stronomy/", line 5, in <module>
    from nameko.standalone.rpc import ClusterRpcProxy
  File "/home/astronom/.local/lib/python2.7/site-packages/nameko/standalone/", line 11, in <module>
    from nameko import serialization
  File "/home/astronom/.local/lib/python2.7/site-packages/nameko/", line 10, in <module>
    from nameko.utils import import_from_path
  File "/home/astronom/.local/lib/python2.7/site-packages/nameko/utils/", line 7, in <module>
    import eventlet
  File "/home/astronom/.local/lib/python2.7/site-packages/eventlet/", line 10, in <module>
    from eventlet import convenience
  File "/home/astronom/.local/lib/python2.7/site-packages/eventlet/", line 7, in <module>
    from import socket
  File "/home/astronom/.local/lib/python2.7/site-packages/eventlet/green/", line 21, in <module>
    from import greendns
  File "/home/astronom/.local/lib/python2.7/site-packages/eventlet/support/", line 67, in <module>
    setattr(dns.rdtypes, pkg, import_patched('dns.rdtypes.' + pkg))
  File "/home/astronom/.local/lib/python2.7/site-packages/eventlet/support/", line 59, in import_patched
    return patcher.import_patched(module_name, **modules)
  File "/home/astronom/.local/lib/python2.7/site-packages/eventlet/", line 120, in import_patched
    *additional_modules + tuple(kw_additional_modules.items()))
  File "/home/astronom/.local/lib/python2.7/site-packages/eventlet/", line 94, in inject
    module = __import__(module_name, {}, {}, module_name.split('.')[:-1])
ImportError: No module named dnskeybase

dnskeybase is installed as you can see from the last install script.

Installing collected packages: nameko, dnspython
Successfully installed dnspython-1.15.0 nameko-2.11.0

What’s going wrong here?



Ok, so the answer seems to be reinstall virtualenv under Python2.7 as well, then I don’t getthe dnskeybase error.