【发布时间】:2015-09-01 22:16:34
【问题描述】:
如何在 Heroku 上安装 Scipy?
我尝试使用https://github.com/thenovices/heroku-buildpack-scipy
我没有安装 numpy 的问题。但是当我安装 Scipy 时出现了问题。
库错误:库 dfftpack 具有 Fortran 源代码,但未找到 Fortran 编译器。
【问题讨论】:
标签: python heroku scipy installation
如何在 Heroku 上安装 Scipy?
我尝试使用https://github.com/thenovices/heroku-buildpack-scipy
我没有安装 numpy 的问题。但是当我安装 Scipy 时出现了问题。
库错误:库 dfftpack 具有 Fortran 源代码,但未找到 Fortran 编译器。
【问题讨论】:
标签: python heroku scipy installation
我也有这个问题;我试图在 Django 应用程序中使用 Scipy。只需将 numpy 和 Scipy 放在我的 requirements.txt 的顶部即可解决问题。那就是:
之前:
dj-database-url==0.3.0
dj-static==0.0.6
Django==1.8.4
django-toolbelt==0.0.1
gunicorn==19.3.0
numpy==1.9.2
psycopg2==2.6.1
scipy==0.15.1
static3==0.6.1
wheel==0.24.0
之后:
numpy==1.9.2
scipy==0.15.1
dj-database-url==0.3.0
dj-static==0.0.6
Django==1.8.4
django-toolbelt==0.0.1
gunicorn==19.3.0
psycopg2==2.6.1
static3==0.6.1
wheel==0.24.0
【讨论】: