[Openstack] Help needed to resolve "ImportError: No module named urllib"

Patil, Manjunath G mpatil at hp.com
Wed Sep 24 13:17:53 UTC 2014


Hello All,

We are trying to integrate openstack with java.

While doing so we are facing "ImportError: No module named urllib"

When we import from python console it works fine.

However when we are trying to import using jython 2.7 interpreter we get the below error.

Caused by: Traceback (most recent call last):
   from oslo import messaging
  File "/site-packages/oslo/messaging/__init__.py", line 18, in <module>
    from oslo.messaging.notify import *
  File "/site-packages/oslo/messaging/notify/__init__.py", line 25, in <module>
    from oslo.messaging.notify.logger import *
  File "/site-packages/oslo/messaging/notify/logger.py", line 21, in <module>
    from oslo.messaging import transport
  File "/site-packages/oslo/messaging/transport.py", line 31, in <module>
    from six.moves.urllib import parse
ImportError: No module named urllib



We are using  python package SIX of version  1.8.


Please let me know your inputs on this.



Thanks & Regards
Manjunath G Patil




Thanks & Regards
Manjunath G Patil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140924/c8ee31a3/attachment.html>


More information about the Openstack mailing list