I'v successfully installed numpy and scipy using the method described in this answer. Then I wanted to add scikit-learn so at first I tried adding scikit-learn==0.11 to the requirements.txt and when pushed to heroku I got an error message:
ImportError: liblapack.so.3gf: cannot open shared object file: No such file or directory
So I've added to LD_LIBRARY_PATH the path where I have liblapack.so.3gf but then I got this:
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory
I believe that heroku doesn't have fortran compiler, but maybe I wrong. How can I resolve this?