0

Heroku にThe Echo Nest Remix Python Libraryをインストールしようとしていますが、Heroku が読み取り専用であるにも関わらず、最後に一部のデータをコピーしようとしているようです。

Heroku マスターにプッシュすると、次のようになります。

エラー:

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 をインストールした人はいますか?

助けてくれてありがとう。

4

1 に答える 1

0

問題は、Echo Nest Remix パッケージがそのパッケージからいくつかのフォルダーを Heroku のプロジェクト ディレクトリにコピーしたことであり、これは違法です。

Remix リポジトリをフォークし、コピーされたディレクトリを削除し、コード内のそれらの記述を変更し、この新しいフォークを使用して Remix をインストールする必要がありました。

同じ問題を抱えていて、このフォークを使用したい人は、リポジトリで youtube-dl の言及を削除する必要があることに注意してください。私のアプリケーションは youtube-dl を必要としないため、これは問題ではありませんでしたが、あなたのアプリケーションはそうかもしれません。

分岐した Remix (2.2.1) リポジトリはhttps://github.com/Mdelvalle/remixにあります。

于 2016-02-25T21:53:58.683 に答える