Richard Oudkerk added the comment: _sha3 is not being built on Windows, so importing hashlib fails
>>> import hashlib ERROR:root:code for hash sha3_224 was not found. Traceback (most recent call last): File "C:\Repos\cpython-dirty\lib\hashlib.py", line 109, in __get_openssl_constructor f = getattr(_hashlib, 'openssl_' + name) AttributeError: 'module' object has no attribute 'openssl_sha3_224' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Repos\cpython-dirty\lib\hashlib.py", line 154, in <module> globals()[__func_name] = __get_hash(__func_name) File "C:\Repos\cpython-dirty\lib\hashlib.py", line 116, in __get_openssl_constructor return __get_builtin_constructor(name) File "C:\Repos\cpython-dirty\lib\hashlib.py", line 104, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha3_224 ... ---------- nosy: +sbt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16113> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com