Open gaborvecsei opened 7 years ago
You would have to specify the channel "-c menpo" to install from that user's account.
Heroku now supports Docker container push feature and the same time, this buildpack seems to be not maintaned.
So I recommend to use Docker container. You can make Dockerfile for your application easily by inheriting the continuumio/miniconda
(or continuumio/miniconda3
) Docker file (here is ContinuumIO's official dockerfiles). Here is my Dockerfile.
FROM continuumio/miniconda3
ENTRYPOINT []
CMD [ "/bin/bash" ]
# Remove (large file sizes) MKL optimizations.
RUN conda install -y nomkl
# install packages by conda
RUN conda install -y numpy scipy scikit-learn cython
# install other dependencies by pip
ADD ./requirements.txt /tmp/requirements.txt
RUN pip install -qr /tmp/requirements.txt
ADD . /opt/ml_in_app
WORKDIR /opt/ml_in_app
CMD python run_application.py
I recommend what @icoxfog417 recommends.
I tried to add OpenCV 2.4.11 to the
conda-requirements.txt
for installing but I just keep getting this aftergit push heroku master
.But after I searched for OpenCV I found it for linux 64.