Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name md5 #775

Open
ishandutta2007 opened this issue Dec 21, 2019 · 1 comment
Open

ImportError: cannot import name md5 #775

ishandutta2007 opened this issue Dec 21, 2019 · 1 comment

Comments

@ishandutta2007
Copy link

I am Trying to install from source on mac

$ pip install -r requirements.txt --use-mirrors

ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 139, in
globals()[__func_name] = __get_hash(__func_name)
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 91, 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 "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 139, in
globals()[__func_name] = __get_hash(__func_name)
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 91, 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 "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 139, in
globals()[__func_name] = __get_hash(__func_name)
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 91, 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 "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 139, in
globals()[__func_name] = __get_hash(__func_name)
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 139, in
globals()[__func_name] = __get_hash(__func_name)
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 139, in
globals()[__func_name] = __get_hash(__func_name)
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Traceback (most recent call last):
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/bin/pip", line 6, in
from pip._internal import main
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/site-packages/pip/_internal/init.py", line 19, in
from pip._vendor.urllib3.exceptions import DependencyWarning
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/site-packages/pip/_vendor/urllib3/init.py", line 8, in
from .connectionpool import (
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/site-packages/pip/_vendor/urllib3/connectionpool.py", line 29, in
from .connection import (
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/site-packages/pip/vendor/urllib3/connection.py", line 38, in
from .util.ssl
import (
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/site-packages/pip/vendor/urllib3/util/init.py", line 6, in
from .ssl
import (
File "/Users/ishandutta2007/.pyenv/versions/2.7.8/lib/python2.7/site-packages/pip/vendor/urllib3/util/ssl.py", line 8, in
from hashlib import md5, sha1, sha256
ImportError: cannot import name md5

@matkoniecz
Copy link

note that this project is dead, it was revived at https://github.com/linkchecker/linkchecker which may have fixed this issue already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants