I had this same issue but my versions were a bit higher than yours. You may want to try removing fabric and pycrypto and re-initiate the install (i assume pip?). I found that ``--upgrade`` broke things but simply issuing a ``pip install fabric`` against pypi installed 0.9.2 w/ the appropriate version of Pycrypto..
I think, anyway. I didn't take notes on this, would love to hear if others have experienced the same... about the only issue i stumble across when deploying lately... On Thu, Sep 23, 2010 at 12:27 PM, Yungwei Chen <yung...@resolvity.com>wrote: > Hi, > > I just finished installing fabric using rpm files, and I encounter the > following error when running fab for the first time. > How can I fix it? Thanks. > > [r...@puppet fabric]# fab > Traceback (most recent call last): > File "/usr/bin/fab", line 5, in <module> > from pkg_resources import load_entry_point > File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2479, in > <module> > working_set.require(__requires__) > File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 585, in > require > needed = self.resolve(parse_requirements(requirements)) > File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 483, in > resolve > raise DistributionNotFound(req) # XXX put more info here > pkg_resources.DistributionNotFound: pycrypto>=1.9 > > Here's what I installed for fabric. > fabric-0.9-0.1.b1 > python25-libs-2.5.1-bashton1 > python25-devel-2.5.1-bashton1 > python25-tools-2.5.1-bashton1 > python25-paramiko-1.7.6-1 > python25-2.5.1-bashton1 > python25-test-2.5.1-bashton1 > python25-setuptools-0.6c5-2 > python-crypto-2.0.1-4.el5.1 > tk-8.4.13-5.el5_1.1 > tix-8.4.0-11.fc6 > > > > _______________________________________________ > Fab-user mailing list > Fab-user@nongnu.org > http://lists.nongnu.org/mailman/listinfo/fab-user >
_______________________________________________ Fab-user mailing list Fab-user@nongnu.org http://lists.nongnu.org/mailman/listinfo/fab-user