Can I use scientific Python libraries (scipy, scikit-learn, etc) on Heroku?
Currently the large number of specialized dependencies make some scientific computing libraries difficult to integrate with our general purpose common runtime.
For Heroku users wanting to work with
scikit-learn and other similar libraries, we recommend using our support for
Dockerfile based apps https://devcenter.heroku.com/articles/container-registry-and-runtime
There is an example of a Docker-based
scikit-learn app here: https://github.com/heroku-examples/python-miniconda