【发布时间】:2012-07-23 01:34:39
【问题描述】:
我已经使用this 回答中描述的方法成功安装了 numpy 和 scipy。然后我想添加 scikit-learn,所以一开始我尝试将 scikit-learn==0.11 添加到 requirements.txt 中,当推送到 heroku 时,我收到一条错误消息:
ImportError: liblapack.so.3gf: cannot open shared object file: No such file or directory
所以我已经添加到LD_LIBRARY_PATH 我有liblapack.so.3gf 的路径,但后来我得到了这个:
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
我相信heroku没有fortran编译器,但也许我错了。我该如何解决这个问题?
【问题讨论】:
标签: python heroku scikit-learn