Hello there, In migrating my application from python 1.5.2 to 2.7.1, I encountered an issue modules which utilizes _sha256 cannot be loaded. This includes hashlib, random and tempfile.
I think this should be related to the build of my python 64-bit on HP11.31 using HP-UX compiler. I have tried including the header files of openSSL and library of openSSL during the build however the binary generated still unable to load those modules. Can anyone advise? $ python Python 2.7.1 (r271:86832, Sep 30 2011, 17:07:25) [C] on hp-ux11 Type "help", "copyright", "credits" or "license" for more information. >>> import hashlib Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/r32813/genesis/GEN_DEV_271/Enablers/Python/lib/python2.7/hashlib.py", line 136, in <module> globals()[__func_name] = __get_hash(__func_name) File "/home/r32813/genesis/GEN_DEV_271/Enablers/Python/lib/python2.7/hashlib.py", line 74, in __get_builtin_constructor import _sha256 ImportError: No module named _sha256 >>> Regards, Wah Meng
-- http://mail.python.org/mailman/listinfo/python-list