我如何在Heroku上安装python opencv? [英] How can I install python opencv on Heroku?

查看:216
本文介绍了我如何在Heroku上安装python opencv?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用此自定义buildpack https://github.com/gimlids/heroku- buildpack-python-opencv

I tried using this custom buildpack https://github.com/gimlids/heroku-buildpack-python-opencv

但由于15分钟的超时,编译失败。

But compilation fails due to a 15 minute timeout.

I也尝试设置 COMPILE_TIMEOUT:6000 但它没有帮助

I also tried setting COMPILE_TIMEOUT: 6000 but it Didn't help

推荐答案

为了在heroku上获得buildpacks的15分钟编译时间约束,请使用 heroku-anvil 编译slu。。

to get around the 15 minute compile time constraint for buildpacks on heroku, use heroku-anvil to compile the slug.

这篇关于我如何在Heroku上安装python opencv?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆