Windows 7 64bit + Python 2.7 64bit + virtualenv are suicidal combination. When installing Fab into such environment one of its dependencies is pywin32 (you will get ImportError: No module named win32com.shell.shell). With some googling you will find out that what is required is pywin32.
So how to install pywin32?
easy_install pywin32
just fails. Ok, you can get the binaries from
http://sourceforge.net/projects/pywin32/files/pywin32/. But
easy_install pywin32-217.win-amd64-py2.7.exe
fails again!
But if you examine the error it fails when resolving dependencies and trying to install pywin32 from sources. Not very nice. So here comes the
solution:
- Get binaries from http://sourceforge.net/projects/pywin32/files/pywin32/
- Run
easy_install -N pywin32-217.win-amd64-py2.7.exe
. The -N parameters instructs easy_install not to install dependencies. Great!