On Tue, Sep 27, 2011 at 2:28 AM, Wong Wah Meng-R32813
<r32...@freescale.com> wrote:
> I just built python 2.7.1 on my HP Itanium 64-bit platform, using aCC. I 
> encountered following issue when importing the random module. Does anyone 
> know why am I getting this error? Thanks in advance for your reply.
<snip>
>  File "hashlib.py", line 74, in __get_builtin_constructor
>    import _sha256
> ImportError: No module named _sha256

Did you get a message along the lines of "Python build finished, but
the necessary bits to build these modules were not found:" when you
built Python?

Cheers,
Chris
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to