1

Python 3: No module named sha256 error

view story
linux-howto

http://ubuntuforums.org – Hi all, I am learning python and i have installed python 3 on my Ubuntu 11.10. Now i just tried writing a simple import random statement and i get Code: from hashlib import sha512 Traceback (most recent call last):   File &quot;<stdin>&quot;, line 1, in <module>   File &quot;/usr/local/lib/python3.2/hashlib.py&quot;, line 138, in <module>     globals()[__func_name] = __get_hash(__func_name)   File &quot;/usr/local/lib/python3.2/hashlib.py&quot;, line 74, in __get_builtin_constructor     import _sha256 ImportError (Hardware)