Skip to content

Commit 03faabd

Browse files
authored
fix docker build error by freezing setuptools version (#3002)
Co-authored-by: Rohit Kumar Srivastava <141.srivastava@gmail.com>
1 parent 1aab708 commit 03faabd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

serving/docker/scripts/install_python.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ else
2525
python3 get-pip.py
2626
rm -rf get-pip.py
2727
fi
28-
python3 -m pip --no-cache-dir install -U pip setuptools wheel
28+
29+
# fix fetuptools version for this else you get following error
30+
# ModuleNotFoundError: No module named 'pkg_resources'
31+
python3 -m pip --no-cache-dir install -U pip wheel setuptools==80.9.0
2932
python3 -m pip --no-cache-dir install -U "numpy<2" awscli
3033
ln -sf /usr/bin/python3 /usr/bin/python

0 commit comments

Comments
 (0)