Here's what I did to install fabric on CentOS 5 successfully. 1. Install gcc, make, tk, and tix packages 2. Install python26* packages in fedora epel repo. 3. download and unzip the fabric 0.9.2 source code. 4. cd into the extracted fabric folder 5. run "python26 setup.py install"
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Yungwei Chen Sent: Thursday, September 23, 2010 2:27 PM To: [email protected] Subject: [Fab-user] pkg_resources.DistributionNotFound: pycrypto>=1.9 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 [email protected] http://lists.nongnu.org/mailman/listinfo/fab-user _______________________________________________ Fab-user mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/fab-user
