File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7
5555
5656# Add pip2.7 shortcut and install Python2 packages
5757RUN ln -s $CONDA_DIR/envs/python2/bin/pip $CONDA_DIR/bin/pip2.7 && \
58- pip install --upgrade pip && \
58+ pip2.7 install --upgrade pip && \
5959 pip2.7 install \
6060 setuptools \
6161 matplotlib \
@@ -67,13 +67,15 @@ RUN ln -s $CONDA_DIR/envs/python2/bin/pip $CONDA_DIR/bin/pip2.7 && \
6767 ipyleaflet \
6868 numpy \
6969 shapely \
70- --no-binary :all: rasterio \
70+ --no-binary :all: rasterio==1.0a9 \
7171 geopandas \
7272 tqdm \
7373 planet \
7474 pygdal==2.1.3.3 \
7575 geojsonio \
76- scikit-learn
76+ scikit-learn && \
77+ pip2.7 install \
78+ opencv-python==3.3.0.10
7779
7880# Add pip shortcut and install Python3 packages
7981RUN pip install --upgrade pip && \
@@ -85,12 +87,14 @@ RUN pip install --upgrade pip && \
8587 ipyleaflet \
8688 numpy \
8789 shapely \
88- --no-binary :all: rasterio \
90+ --no-binary :all: rasterio==1.0a9 \
8991 geopandas \
9092 tqdm \
9193 planet \
9294 pygdal==2.1.3.3 \
93- geojsonio
95+ geojsonio && \
96+ pip install \
97+ opencv-python==3.3.0.10
9498
9599# Activate Python2 kernel globally and upon kernel launch.
96100USER root
You can’t perform that action at this time.
0 commit comments