{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-python/issues/169","labels_url":"https://api.github.com/repos/heroku/heroku-buildpack-python/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-python/issues/169/comments","events_url":"https://api.github.com/repos/heroku/heroku-buildpack-python/issues/169/events","html_url":"https://github.com/heroku/heroku-buildpack-python/issues/169","id":42641544,"number":169,"title":"buildpack compatible with centos","user":{"login":"markbarks","id":368384,"avatar_url":"https://avatars.githubusercontent.com/u/368384?v=3","gravatar_id":"","url":"https://api.github.com/users/markbarks","html_url":"https://github.com/markbarks","followers_url":"https://api.github.com/users/markbarks/followers","following_url":"https://api.github.com/users/markbarks/following{/other_user}","gists_url":"https://api.github.com/users/markbarks/gists{/gist_id}","starred_url":"https://api.github.com/users/markbarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markbarks/subscriptions","organizations_url":"https://api.github.com/users/markbarks/orgs","repos_url":"https://api.github.com/users/markbarks/repos","events_url":"https://api.github.com/users/markbarks/events{/privacy}","received_events_url":"https://api.github.com/users/markbarks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-09-12T15:36:23Z","updated_at":"2015-04-22T16:14:17Z","closed_at":"2015-01-09T18:30:52Z","body":"I've been trying to run the buildpack in a centos docker container, however each time the pip install line is called I get errors about missing security library files. \r\n\r\n```\r\nbash-4.1# /app/.heroku/python/bin/pip install -r requirements.txt --exists-action=w --src=./.heroku/src --allow-all-external\r\nERROR:root:code for hash md5 was not found.\r\nTraceback (most recent call last):\r\n  File \"/app/.heroku/python/lib/python2.7/hashlib.py\", line 139, in <module>\r\n    globals()[__func_name] = __get_hash(__func_name)\r\n  File \"/app/.heroku/python/lib/python2.7/hashlib.py\", line 91, in __get_builtin_constructor\r\n    raise ValueError('unsupported hash type ' + name)\r\nValueError: unsupported hash type md5\r\nERROR:root:code for hash sha1 was not found.\r\n```\r\n\r\nOpenSSL is installed correctly in the image:\r\n\r\n```\r\nbash-4.1# openssl\r\nOpenSSL>\r\n```\r\n\r\nI have tried hacking the LD_LIBRARY_PATH into the script, to no avail. Any clues what I could be doing wrong? Is there a better place to ask for advice rather than raising issues?\r\n\r\nMany thanks,\r\nMark\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-python/issues/comments/95252480","html_url":"https://github.com/heroku/heroku-buildpack-python/issues/169#issuecomment-95252480","issue_url":"https://api.github.com/repos/heroku/heroku-buildpack-python/issues/169","id":95252480,"user":{"login":"beechnut","id":1887182,"avatar_url":"https://avatars.githubusercontent.com/u/1887182?v=3","gravatar_id":"","url":"https://api.github.com/users/beechnut","html_url":"https://github.com/beechnut","followers_url":"https://api.github.com/users/beechnut/followers","following_url":"https://api.github.com/users/beechnut/following{/other_user}","gists_url":"https://api.github.com/users/beechnut/gists{/gist_id}","starred_url":"https://api.github.com/users/beechnut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beechnut/subscriptions","organizations_url":"https://api.github.com/users/beechnut/orgs","repos_url":"https://api.github.com/users/beechnut/repos","events_url":"https://api.github.com/users/beechnut/events{/privacy}","received_events_url":"https://api.github.com/users/beechnut/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T16:14:17Z","updated_at":"2015-04-22T16:14:17Z","body":"I was getting [the same error](https://gist.github.com/beechnut/686d58aa8b65d50bae02) deploying to Dokku using v33, but using the latest version of the buildpack (as of 22 Apr 2015) appears to resolve it."}}