Alex Beals Alex Beals - 1 year ago 306
Python Question

'frozenset' object is not callable

When I attempt to import

in any context, it throws this error:

File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.11-intel/egg/", line 115, in <module>
TypeError: 'frozenset' object is not callable

Any idea how I can resolve this? I'm generating this error simply by opening up Terminal, running
and then typing
import hashlib

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download