I had the same problem yesterday, Hashlib wasn’t installed and trying to install it using pip would give that error. I fixed it by installing it using easy_install instead.
Also I had to install Scipy and Microsoft Visual C++ Compiler for Python 2.7 on Windows, they were required for Hashlib