[Python-porting] ImportError: No module named urllib

Gaurav Gogs g.gogs at aol.com
Wed May 21 20:49:56 CEST 2014


Hi,

I'm trying to use python-novaclient for my openstack project.

Installation is successful but when executing "nova", it give following error.
I've a MAC with maverick as latest OS.

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/bin/nova", line 6, in <module>
    from novaclient.shell import main
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/novaclient/shell.py", line 45, in <module>
    from novaclient import client
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/novaclient/client.py", line 34, in <module>
    from six.moves.urllib import parse
ImportError: No module named urllib


pip show six
---
Name: six
Version: 1.6.1
Location: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requires: 


pip show python-novaclient
---
Name: python-novaclient
Version: 2.17.0
Location: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requires: pbr, iso8601, PrettyTable, requests, simplejson, six, Babel


Don't know if this is the right place to ask.


 Thanks,

 

Gaurav

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-porting/attachments/20140521/f430289c/attachment.html>


More information about the Python-porting mailing list