novaclient
Daniel Ericsson
deric at macports.org
Fri Apr 20 04:27:35 PDT 2012
On 20 apr 2012, at 13:07, David Scott wrote:
> 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?
I can't reproduce, but what does `head /opt/local/bin/nova-2.7` output? I'm interested in the shebang-line specifically.
-- Daniel
More information about the macports-users
mailing list