[英]SciPy on Heroku with Conda failing to deploy
我的設置:
我按照以下方式設置了Conda Buildpack:
https://devcenter.heroku.com/articles/python-c-deps
這是我的conda要求:
$ cat conda-requirements.txt
cryptography
scipy
numpy
gcc
libffi
這是我在嘗試git push后看到的錯誤:
remote: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/app/.heroku/miniconda/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o
remote: c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
remote: #include <ffi.h>
remote: ^
remote: compilation terminated.
remote: error: command 'gcc' failed with exit status 1
這是相當令人困惑的,因為我已經在我的conda-requirements中使用了libffi,但它卻是失敗的那個。 谷歌搜索顯示,其他一些人仍然有同樣的錯誤 - 而其他人則沒有。 任何想法/建議贊賞!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.