在我按照步骤将我的heroku实例从cedar-10升级到cedar-14之后,我只是有一个问题要推动我的更改.虽然如果我创建新的应用程序并应用现有代码它可行,但它不适用于生产应用程序.
错误
-----> Python app detected
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in
globals()[func_name] = __get_hash(__func_name)
File "/app/.heroku/python/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 "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in
globals()[__func_name] = __get_hash(__func_name)
File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash …Run Code Online (Sandbox Code Playgroud)