[New-bugs-announce] [issue12876] Make Test Error : ImportError: No module named _sha256

Wong Wah Meng report at bugs.python.org
Thu Sep 1 12:42:21 CEST 2011


New submission from Wong Wah Meng <wahmeng at freescale.com>:

Hi there, 
I just build python 2.7.1 on my HP 11.31 Itanium 64 bit machine using gcc. When I finished the build and run "make test". It gives me error as depicted below:-

 

$ ./python Lib/test/regrtest.py -v      

Traceback (most recent call last):

  File "Lib/test/regrtest.py", line 157, in <module>

    import random

  File "/home/r32813/Build/2.7.1/Python-2.7.1/Lib/random.py", line 49, in <module>

    import hashlib as _hashlib

  File "/home/r32813/Build/2.7.1/Python-2.7.1/Lib/hashlib.py", line 136, in <module>

    globals()[__func_name] = __get_hash(__func_name)

  File "/home/r32813/Build/2.7.1/Python-2.7.1/Lib/hashlib.py", line 74, in __get_builtin_constructor

    import _sha256

ImportError: No module named _sha256

This is the server information. 

$ uname -a

HP-UX zmy02hp3 B.11.31 U ia64 3240906838 unlimited-user license 

Here is other information in the configure.log file. 

Target: ia64-hp-hpux11.23

Configured with: /tmp/gcc-4.4.3.tar.gz/gcc-4.4.3/configure --host=ia64-hp-hpux11.23 --target=ia64-hp-hpux11.23 --build=ia64-hp-hpux11.23 --prefix=/opt/hp-

gcc-4.4.3 --with-gnu-as --without-gnu-ld --enable-threads=posix --enable-languages=c,c++ --with-gmp=/proj/opensrc/be/ia64-hp-hpux11.23 --with-mpfr=/proj/o

pensrc/be/ia64-hp-hpux11.23 SED=/usr/bin/sed

Thread model: posix

----------
components: Tests
messages: 143315
nosy: wah meng
priority: normal
severity: normal
status: open
title: Make Test Error : ImportError: No module named _sha256
type: compile error
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12876>
_______________________________________


More information about the New-bugs-announce mailing list