{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudfoundry/python-buildpack/issues/22","labels_url":"https://api.github.com/repos/cloudfoundry/python-buildpack/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/python-buildpack/issues/22/comments","events_url":"https://api.github.com/repos/cloudfoundry/python-buildpack/issues/22/events","html_url":"https://github.com/cloudfoundry/python-buildpack/issues/22","id":81760795,"number":22,"title":"Building with scikit-learn and scipy","user":{"login":"jpbufe3","id":4275667,"avatar_url":"https://avatars.githubusercontent.com/u/4275667?v=3","gravatar_id":"","url":"https://api.github.com/users/jpbufe3","html_url":"https://github.com/jpbufe3","followers_url":"https://api.github.com/users/jpbufe3/followers","following_url":"https://api.github.com/users/jpbufe3/following{/other_user}","gists_url":"https://api.github.com/users/jpbufe3/gists{/gist_id}","starred_url":"https://api.github.com/users/jpbufe3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpbufe3/subscriptions","organizations_url":"https://api.github.com/users/jpbufe3/orgs","repos_url":"https://api.github.com/users/jpbufe3/repos","events_url":"https://api.github.com/users/jpbufe3/events{/privacy}","received_events_url":"https://api.github.com/users/jpbufe3/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-28T04:57:18Z","updated_at":"2015-06-26T18:12:04Z","closed_at":"2015-06-26T18:12:04Z","body":"I'm currently trying to deploy a Python application that has scikit-learn and scipy as dependencies. The flask server can deploy locally using python-2.7.6, however, when I do a cf push, it fails.\r\n\r\nruntime.txt (Note: I have tried 2.7.6 as well)\r\n```\r\npython-2.7.9\r\n```\r\n\r\nrequirements.txt\r\n```\r\nFlask==0.10.1\r\nitsdangerous==0.24\r\nJinja2==2.7.3\r\nMarkupSafe==0.23\r\nnltk==3.0.2\r\nnumpy==1.9.2\r\npandas==0.16.1\r\npython-dateutil==2.4.2\r\npytz==2015.4\r\nscikit-learn==0.16.1\r\nscipy==0.15.1\r\nsix==1.9.0\r\nWerkzeug==0.10.4\r\n```\r\n\r\nmanifest.yml\r\n```\r\napplications:\r\n- name: scikit-test\r\n  buildpack: https://github.com/cloudfoundry/python-buildpack\r\n  instances: 1\r\n  description: test\r\n  memory: 512M\r\n  command: python server.py\r\n  host: scikit-test\r\n```\r\n\r\nError from cf logs:\r\n```\r\n2015-05-28T00:52:10.35-0400 [STG/0]      ERR     Command \"/app/.heroku/python/bin/python -c \"import setuptools, tokenize;__file__='/tmp/pip-build-cb4oWN/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-H2efLy-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-build-cb4oWN/scipy\r\n2015-05-28T00:52:10.43-0400 [STG/0]      OUT Staging failed: Buildpack compilation step failed\r\n2015-05-28T00:52:10.77-0400 [API/2]      ERR encountered error: App staging failed in the buildpack compile phase\r\n```\r\n\r\nIs this a known issue? Are there any workarounds? Thanks."}}