When I attempt to deploy my application to Heroku I receive the following error:
File \"/app/project/app/_ _init__.py\", line 22, in
You can install these missing libraries taking advantage of the heroku-buildpack-apt.
At the time of this writing, I have succesfully done it for this repo, hosted here, with the following steps:
libsm6, libxrender1, libfontconfig1, libice6 (one per line). Example here.Edit: in newer versions of OpenCV, you need only to list python-opencv on the Aptfile, as seen in the docs.