When I run fab
it appears to fail on a paramiko dependency:
Traceback (most recent call last):
File "/usr/bin/fab", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: paramiko>=1.10
I'm running 64bit Oracle Linux 6.5 (equivalent to RHEL 6.5 or CentOS 6.5). I installed Fabric using pip install fabric
and pip installed:
Since 1.14 > 1.10, I don't get why I'd be failing the dependency. Is this a bug in Fabric 1.9.0?
I had the same issue. I resolved by uninstalling fabric and reinstalling 1.8.1:
sudo pip uninstall fabric
sudo pip install fabric==1.8.1
I resolved it by uninstalling fabric and paramiko, reinstalling paramiko 1.10 and then installing fabric
sudo pip uninstall fabric paramiko
sudo pip install paramiko==1.10
sudo pip install fabric
If I had more time I would slowly increase the release number of paramiko to find out where the ceiling is. I'm guessing 1.13 because this appears to be a known bug.
https://github.com/fabric/fabric/issues/1105
The latest paramiko is later than 1.13 in the fix and therefore causes an error?
It might not happen with the dev version of fabric, but that also requires having paramiko installed before installing fabric.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With