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 "<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
I have searched the net and i find no clues relating to Python 3 with this module. Can anybody help me out?? Python learning is turning out to be a tough battle with just clearing up all the module errors!!
Bookmarks