diff --git a/install/from-scratch.sh b/install/from-scratch.sh
index 0c41b37b36f50f61ebdade5528913aa67aef70ae..41ae65ee97e7c06513a9c27583692ed98fa075a8 100755
--- a/install/from-scratch.sh
+++ b/install/from-scratch.sh
@@ -47,7 +47,7 @@ ${CONDA} create --yes -n ${NAME} --override-channels -c conda-forge -c defaults
   nose \
   numexpr \
   numpy \
-  opencv \
+  opencv=3 \
   pillow \
   pip \
   pkg-config \