When I attempt to deploy my application to Heroku I receive the following error:
File "/app/project/app/_ _init__.py", line 22, in <module> File "/app/project/app/views.py", line 6, in <module> import cv2 from .cv2 import * File "/app/.heroku/python/lib/python3.6/site-packages/cv2/_ _init__.py", line 4, in <module> 2018-03-24T20:40:55.986945+00:00 app[web.1]: ImportError: libSM.so.6: cannot open shared object file: No such file or directory```
OpenCV is unable to find the libsm directory, however this application runs correctly locally. I have tried using a specific buildpack however those did not seem to find my site-packages
folder.
How do I use openCV (python) on Heroku?