Python2.7.9安装setuptools-0.6c11出错

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Python2.7.9安装setuptools-0.6c11出错相关的知识,希望对你有一定的参考价值。

running install
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 147, in
globals()[__func_name] = get_hash(func_name)
File "/usr/local/lib/python2.7/hashlib.py", line 97, in get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 147, in
globals()[func_name] = get_hash(func_name)
File "/usr/local/lib/python2.7/hashlib.py", line 97, in get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 147, in
globals()[func_name] = get_hash(func_name)
File "/usr/local/lib/python2.7/hashlib.py", line 97, in get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/hashlib.py", line 147, in
globals()[func_name] = get_hash(func_name)
File "/usr/local/lib/python2.7/hashlib.py", line 97, in get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.

参考技术A 下的setuptools版本不对

以上是关于Python2.7.9安装setuptools-0.6c11出错的主要内容,如果未能解决你的问题,请参考以下文章

python2.7.9安装mysql-python模块

ubuntu 14.04 python2.7.9 缺少zlib模块

如何在Windows 7安装Python2.7

安装pip工具

python2.7.9基础学习

无法在 Windows 中的 python 2.7.9 上安装 scikit-earn?