nova client does not work, fails to import argparse library

Bug #912069 reported by Adam Gandelman
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient (Ubuntu)
Chuck Short

Bug Description

Setting up python-prettytable (0.5-1ubuntu2) ...
Setting up python-novaclient (2.6.7~bzr128-0ubuntu1) ...
ubuntu@ip-10-252-25-136:~$ nova
Traceback (most recent call last):
  File "/usr/bin/nova", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/", line 2707, in <module>
  File "/usr/lib/python2.7/dist-packages/", line 686, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse

It seems nova client uses pkg_resources, but it cannot load the argparse module. argparse is provided as part of the main python package and not installed as a seperate python module.

Revision history for this message
Dave Walker (davewalker) wrote :
Changed in python-novaclient (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
assignee: nobody → Chuck Short (zulcss)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-novaclient - 2012.1~e3~20120111.452-0ubuntu1

python-novaclient (2012.1~e3~20120111.452-0ubuntu1) precise; urgency=low

  * New upstream version.
  * Make running the test suite better.
  * Fix argparse import. (LP: #912069)
 -- Chuck Short <email address hidden> Fri, 13 Jan 2012 12:30:26 +0100

Changed in python-novaclient (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers