I am trying to deploy django app on bluemix but its giving hash type not found errors while installing dependencies.
Here's my manifest.yml:
applications:
- name: twhisper
memory: 1024M
command: python manage.py runserver
buildpack: https://github.com/cloudfoundry/python-buildpack#v1.1.2
path: .
Log is as follows:
-------> Buildpack version 1.1.2
-----> Installing runtime (python-2.7.9)
-----> Installing dependencies with pip
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/app/.heroku/python/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/app/.heroku/python/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 "/app/.heroku/python/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/app/.heroku/python/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 "/app/.heroku/python/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/app/.heroku/python/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ImportError: No module named 'pip._vendor.requests'
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/app/.heroku/python/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/app/.heroku/python/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
Can anyone tell what's the problem? I was able to deploy it before. I think there maybe some problem with buildpack. Thanks in advance...