Hi JA,

How exactly did you install the SSH library (via RPM/yum, via 'pip
install', etc)? If Can you (using the same Python binary you installed
Fabric with, e.g. if your pip is /usr/local/bin/pip, use
/usr/local/bin/python) "import ssh"? If so, what does
"ssh.__version__" evaluate to?

Typically this error means the SSH lib installed into some other
Python root, or didn't actually install correctly. The above will at
least help figure out what might have happened.

Best,
Jeff

On Mon, Apr 30, 2012 at 1:39 PM, JA <[email protected]> wrote:
> Hi Everyone;
>
> I am attempting to in stall 1.4.1 on RHEL6.1, python 2.6
>
> I have installed python-ssh 1.7.12
>
> When I run ./fab,
>
> I get the following error...
>
> 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: ssh>=1.7.12
>
>
> Any advice would be greatly appreciated!
>
> Thansk!
> JA
>
> _______________________________________________
> Fab-user mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/fab-user



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org

_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to