Http://stackoverflow.com/questions/9000380/install-python-fabric-on-windows
Fabric installs just fine on Windows, but your'll need to either:
Have a compiler installed to build the Pycrypto dependency during Setup. If you don ' t have one already, install MinGW or your can use the free version of MSVC.
Install pre-built Windows binaries for pycrypto here.
I install it in a virtualenv like so:
Virtualenv fabenv
Fabenv\scripts\activate.bat
Pip Install Fabric
Another Tip:when you have it up and running your can use pageant to load your SSH keys and avoiding using password-based a Uthentication
Solution using Cygwin:
Install Cygwin
Select Packages:python, GCC, Wget and Openssh
In Cygwin Run:python--version to verify your Python version
From Http://pypi.python.org/pypi/setuptools download. Egg version of Setuptools (not the Windows. exe), for your versi On of Python.
In Cygwin run:sh setuptools-*.egg to install downloaded Setuptools
In Cygwin run:easy_install pip (i-just like Pip, I-i-i-i-could the next step with Easy_install as OK)
In Cygwin run:pip install fabric
And now comes the crucial part:if the above step fails with some ' could not remap Xxx.dll ' error, on the install of the P Ython SSH Package Then:
Exit Cygwin
Start a cmd.exe a in it Run:c:\cygwin_path\bin\ash.exe
In the ash shell run:/bin/rebaseall
In Cygwin retry:pip install fabric, it should succeed now:)