在heroku上安装opencv:编译的slug大小太大了

时间:2015-03-10 12:12:55

标签: python node.js opencv heroku

我想通过使用这个buildpack在heroku上为我的面部检测node.js app安装opencv:https://github.com/slobdell/heroku-buildpack-python-opencv

所以我刚刚做了:

heroku buildpack:set https://github.com/slobdell/heroku-buildpack-python-opencv

但接下来我会收到这个错误:

remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Fetching custom git buildpack... done
remote: -----> Python + OpenCV + Numpy + Scipy app detected
remote: -----> Generating environment
remote:        Fetching...
remote:        Unpacking...
remote: -----> Creating environment variables.
remote: -----> Buildpack installed.
remote: -----> Discovering process types
remote:        Procfile declares types -> monitor, receive
remote: 
remote: -----> Compressing... 


remote:  !   Compiled slug size: 548.5MB is too large (max is 300MB).


remote:  !   See: http://devcenter.heroku.com/articles/slug-size
remote:  !     Push failed: slug archive could not be created
remote:  !     Please try pushing again.
remote:  !     If the problem persists, see http://help.heroku.com/ and provide Request ID 3123dc0c-3f9f-4da1-9223-16531769b6ae.
remote: 
remote: 
remote: Verifying deploy...
remote: 
remote: !   Push rejected to arcane-hollows-8678.
remote: 

我完全不知道我做错了什么。据我所知,我会让我的heroku应用程序上传opencv和我的应用程序,然后压缩它。但是我如何影响opencv的大小?

0 个答案:

没有答案
相关问题