How to use OpenCV with Heroku

后端 未结 5 1777
渐次进展
渐次进展 2020-12-09 06:07

When I attempt to deploy my application to Heroku I receive the following error:

File \"/app/project/app/_ _init__.py\", line 22, in 

        
5条回答
  •  没有蜡笔的小新
    2020-12-09 06:59

    Referring to Lelo's answer regarding the installation of libraries, OpenCV has changed their required libraries (4.4.0 at the time of writing).

    Hence, to get the latest ones, you just need python-opencv in the Aptfile instead of the other libraries.

    This was referred to Install OpenCV-Python in Ubuntu.

提交回复
热议问题