From a04186f78e70630946e3cafcd19fc802f9f8d813 Mon Sep 17 00:00:00 2001 From: Chaitanya Hazarey Date: Fri, 27 Jul 2018 22:39:36 -0700 Subject: [PATCH 1/2] To deal with an ImportError ImportError: libopenblasp-r0-39a31c03.2.18.so: cannot open shared object file: No such file or directory. Also main AWS repo has this change. --- example/train/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/train/Dockerfile b/example/train/Dockerfile index d77a0d6..8882016 100644 --- a/example/train/Dockerfile +++ b/example/train/Dockerfile @@ -20,7 +20,7 @@ RUN apt-get -y update && apt-get install -y --no-install-recommends \ # a significant amount of space. These optimizations save a fair amount of space in the # image, which reduces start up time. RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py && \ - pip install numpy scipy scikit-learn pandas flask gevent gunicorn && \ + pip install numpy==1.14.5 scipy scikit-learn pandas flask gevent gunicorn && \ (cd /usr/local/lib/python2.7/dist-packages/scipy/.libs; rm *; ln ../../numpy/.libs/* .) && \ rm -rf /root/.cache From 77f7f279ff04a831bff47ed9c24b3d6b1bca6754 Mon Sep 17 00:00:00 2001 From: Chaitanya Hazarey Date: Fri, 27 Jul 2018 22:40:44 -0700 Subject: [PATCH 2/2] To deal with an ImportError ImportError: libopenblasp-r0-39a31c03.2.18.so: cannot open shared object file: No such file or directory. Also main AWS repo has this change. --- example/inference/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/inference/Dockerfile b/example/inference/Dockerfile index d77a0d6..8882016 100644 --- a/example/inference/Dockerfile +++ b/example/inference/Dockerfile @@ -20,7 +20,7 @@ RUN apt-get -y update && apt-get install -y --no-install-recommends \ # a significant amount of space. These optimizations save a fair amount of space in the # image, which reduces start up time. RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py && \ - pip install numpy scipy scikit-learn pandas flask gevent gunicorn && \ + pip install numpy==1.14.5 scipy scikit-learn pandas flask gevent gunicorn && \ (cd /usr/local/lib/python2.7/dist-packages/scipy/.libs; rm *; ln ../../numpy/.libs/* .) && \ rm -rf /root/.cache