ImportError: No module named _md5
安装python时,出现告警:
*** WARNING: renaming "_hashlib" since importing it failed: build/lib.linux-i686-2.5/_hashlib.so: undefined symbol: EVP_MD_size
running build_scripts
尽管可正常安装,但是后续在安装setuptools-0.6c8时,会提示:baidu:/home/tt/software_zip # python ./ez_setup.py
Traceback (most recent call last):
File "./ez_setup.py", line 67, in <module>
except ImportError: from md5 import md5
File "/usr/local/python2.5.4//lib/python2.5/md5.py", line 6, in <module>
from hashlib import md5
File "/usr/local/python2.5.4//lib/python2.5/hashlib.py", line 133, in <module>
md5 = __get_builtin_constructor('md5')
File "/usr/local/python2.5.4//lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
import _md5
ImportError: No module named _md5
openssl已经试过了1.0版本,0.9.8版本;
python 已经试过了2.5.4/2.7.3/2.7.5/3.2 等版本,都有这个问题。
求各位大神帮忙解答。
linux为SUSE Python MD5 Linux
[解决办法]
你是自己编译的python还是用的SUSE的软件包?
好像是openssl没装好,openssl是怎么装的?