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
i have searched net , find no clues relating python 3 module. can me out?? python learning turning out tough battle clearing module errors!!code:from hashlib import sha512 traceback (most recent call last): file "<stdin>", line 1, in <module> file "/usr/local/lib/python3.2/hashlib.py", line 138, in <module> globals()[__func_name] = __get_hash(__func_name) file "/usr/local/lib/python3.2/hashlib.py", line 74, in __get_builtin_constructor import _sha256 importerror: no module named _sha256
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
Post a Comment