Skip to main content

Thread: Python 3: No module named sha256 error


hi all, learning python , have installed python 3 on ubuntu 11.10. tried writing simple import random statement , 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: no module named _sha256
i have searched net , find no clues relating python 3 module. can me out?? python learning turning out tough battle clearing module errors!!

this doesn't you, import statement works python 3.1.2 on lucid (installed repository). documentation 3.2 suggests should work there too. suggests me it's issue python3 installation rather code, wrong.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Python 3: No module named sha256 error


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?