David Salib
2014-07-30 14:05:10 UTC
Hello,
I can't get fabric to work on os x.
I installed it using :
$ pip install fabric
paramiko is at the latest version :
$ pip show paramiko
---
Name: paramiko
Version: 1.14.0
Location: /Library/Python/2.7/site-packages
Requires: pycrypto, ecdsa
yet this happens when I try to run a simple hello world :
-- fabfile.py
def hello():
print ('hello world')
--
$ fab hello
Traceback (most recent call last):
File "/usr/local/bin/fab", line 5, in <module>
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 2603, in <module>
working_set.require(__requires__)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: paramiko>=1.10
I'm pretty new to python so my setup might be erroneous, but I did see
this https://github.com/fabric/fabric/commit/e82aaf4dee89c62b3a629af5d0157a8fe64bedf0
and wondered if it might be related.
Regards,
I can't get fabric to work on os x.
I installed it using :
$ pip install fabric
paramiko is at the latest version :
$ pip show paramiko
---
Name: paramiko
Version: 1.14.0
Location: /Library/Python/2.7/site-packages
Requires: pycrypto, ecdsa
yet this happens when I try to run a simple hello world :
-- fabfile.py
def hello():
print ('hello world')
--
$ fab hello
Traceback (most recent call last):
File "/usr/local/bin/fab", line 5, in <module>
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 2603, in <module>
working_set.require(__requires__)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: paramiko>=1.10
I'm pretty new to python so my setup might be erroneous, but I did see
this https://github.com/fabric/fabric/commit/e82aaf4dee89c62b3a629af5d0157a8fe64bedf0
and wondered if it might be related.
Regards,
--
David Salib
David Salib