We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de00b80 commit b83d3c2Copy full SHA for b83d3c2
1 file changed
images/scripts/build-toolchain.sh
@@ -143,14 +143,16 @@ install_python_312() {
143
apt-get install -y -qq --no-install-recommends \
144
python3.12 \
145
python3.12-venv \
146
- python3.12-dev \
147
- python3-pip
+ python3.12-dev
+ python3.12 -m ensurepip --upgrade
148
+ ln -sf /usr/local/bin/pip3 /usr/local/bin/pip || true
149
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1 || true
150
update-alternatives --install /usr/bin/python python /usr/bin/python3.12 1 || true
151
apt-get clean
152
rm -rf /var/lib/apt/lists/*
153
echo '--- Python version ---'
154
python3.12 --version
155
+ pip3 --version || true
156
"
157
}
158
0 commit comments