Numpy gets upgraded after scikit-learn is installed.

Make sure scikit-learn is compatible with currently installed numpy, by reinstalling

Refs #56
Refs #53
This commit is contained in:
Stefan Verhoeven 2018-08-26 13:12:59 +02:00
parent c9a98f6ae5
commit 2f0be5a27f

View File

@ -145,6 +145,9 @@ RUN cd / && \
cd /crankshaft && \ cd /crankshaft && \
git checkout $CRANKSHAFT_VERSION && \ git checkout $CRANKSHAFT_VERSION && \
make install && \ make install && \
# Numpy gets upgraded after scikit-learn is installed
# make sure scikit-learn is compatible with currently installed numpy, by reinstalling
pip install --force-reinstall --no-cache-dir scikit-learn==0.14.1 && \
cd .. cd ..
# Initialize template postgis db # Initialize template postgis db