Skip to content

Commit 96992b9

Browse files
authored
Pin libpysal
Should fix module 'shapely' has no attribute 'Geometry'. Did you mean: 'geometry' http://b/328788268
1 parent 19ebe32 commit 96992b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ ADD patches/keras_internal_test.py /opt/conda/lib/python3.10/site-packages/tenso
229229
RUN pip install --no-deps "keras>3" keras-cv keras-nlp namex && \
230230
/tmp/clean-layer.sh
231231

232-
RUN pip install pysal
232+
# b/328788268 libpysal 4.10 seems to fail with "module 'shapely' has no attribute 'Geometry'. Did you mean: 'geometry'"
233+
RUN pip install pysal "libpysal==4.9.2"
233234

234235
RUN apt-get install -y libfreetype6-dev && \
235236
apt-get install -y libglib2.0-0 libxext6 libsm6 libxrender1 libfontconfig1 --fix-missing && \

0 commit comments

Comments
 (0)