novaclient

David Scott dmscott100 at gmail.com
Fri Apr 20 04:07:16 PDT 2012


I have installed py27-novaclient. When I try to run the client
'argparse' is not found.
$ nova-2.7
Traceback (most recent call last):
  File "/opt/local/bin/nova-2.7", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py",
line 2711, in <module>
    working_set.require(__requires__)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py",
line 690, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py",
line 588, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse

Now for Python 2.7 argparse is meant to be part of the standard
library so what can I do to correct this problem?


More information about the macports-users mailing list