From 1b7657f4f45b6b88dffefac1e080764d33cb2519 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Sat, 10 Feb 2024 18:24:50 +0800 Subject: [PATCH] fix installing python 3.12 --- scripts/github_actions/build-ubuntu-cpu.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/github_actions/build-ubuntu-cpu.sh b/scripts/github_actions/build-ubuntu-cpu.sh index b0a03cd..752e104 100755 --- a/scripts/github_actions/build-ubuntu-cpu.sh +++ b/scripts/github_actions/build-ubuntu-cpu.sh @@ -17,11 +17,11 @@ fi yum -y install openssl-devel bzip2-devel libffi-devel xz-devel wget redhat-lsb-core -echo "Installing ${PYTHON_VERSION}.3" +echo "Installing ${PYTHON_VERSION}.2" -curl -O https://www.python.org/ftp/python/${PYTHON_VERSION}.3/Python-${PYTHON_VERSION}.3.tgz -tar xf Python-${PYTHON_VERSION}.3.tgz -pushd Python-${PYTHON_VERSION}.3 +curl -O https://www.python.org/ftp/python/${PYTHON_VERSION}.2/Python-${PYTHON_VERSION}.2.tgz +tar xf Python-${PYTHON_VERSION}.2.tgz +pushd Python-${PYTHON_VERSION}.2 PYTHON_INSTALL_DIR=$PWD/py-${PYTHON_VERSION}