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
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to