【发布时间】:2016-02-10 22:17:46
【问题描述】:
我正在尝试在 Heroku 上安装 The Echo Nest Remix Python 库,但似乎最后它会尝试复制一些数据,即使 Heroku 是只读的。
Here's 推送到 Heroku master 时会发生什么。
错误:
remote: running install_data
remote: copying external/youtube-dl/youtube-dl -> /usr/local/bin
remote: error: [Errno 30] Read-only file system: '/usr/local/bin/youtube-dl'
remote:
remote: ----------------------------------------
remote: Command "/app/.heroku/python/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-sEL0Eg-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-6TegpX-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-sEL0Eg-build
remote:
remote: ! Push rejected, failed to compile Python app
我的 requirements.txt 看起来像:
numpy==1.6.2
http://static.echonest.com/remix/packages/remix-2.2.1.tar.gz
我的 runtime.txt 看起来像:
python-2.7.10
有什么办法可以解决这个问题吗?有人在 Heroku 上成功安装了 Remix 吗?
感谢您的帮助。
【问题讨论】:
标签: python heroku pip youtube-dl echonest