Skip to content

Commit

Permalink
scikit-learn fix (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
metzm authored Jan 16, 2025
2 parents f8a8232 + a434c47 commit f78e195
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ ENV PROJ_NETWORK=ON
ENV GRASS_ADDON_BASE=/usr/local/grass84

# install external dependencies
RUN pip3 install py7zr tqdm requests psutil scikit-learn pyproj pandas
# do not use scikit-learn >=1.6 because it introduced breaking changes incompatible with r.learn.ml2
RUN pip3 install py7zr tqdm requests psutil "scikit-learn==1.5.2" pyproj pandas

# install official addons
RUN grass --tmp-location EPSG:4326 --exec g.extension r.mapcalc.tiled -s
Expand Down

0 comments on commit f78e195

Please sign in to comment.