diff --git a/install_macos.sh b/install_macos.sh index 9cbbb3d..c343451 100755 --- a/install_macos.sh +++ b/install_macos.sh @@ -38,7 +38,7 @@ $RTT_PYTHON -m pip list > /dev/null || { if ! [ -x "$(command -v scons)" ]; then echo "Installing scons." - $RTT_PYTHON -m pip install scons==4.4.0 + $RTT_PYTHON -m pip install scons fi if ! [ -x "$(command -v pyocd)" ]; then diff --git a/install_suse.sh b/install_suse.sh index 91e5dee..e0de10b 100755 --- a/install_suse.sh +++ b/install_suse.sh @@ -3,7 +3,7 @@ sudo zypper update -y sudo zypper install python3 python3-pip gcc git ncurses-devel cross-arm-none-gcc11-bootstrap cross-arm-binutils qemu qemu-arm qemu-extra -y -python3 -m pip install scons==4.4.0 requests +python3 -m pip install scons requests python3 -m pip install -U pyocd url=https://raw.githubusercontent.com/RT-Thread/env/master/touch_env.sh diff --git a/install_ubuntu.sh b/install_ubuntu.sh index 8f8c5f4..13d8255 100755 --- a/install_ubuntu.sh +++ b/install_ubuntu.sh @@ -4,7 +4,7 @@ sudo apt-get update sudo apt-get upgrade -y sudo apt-get -qq install python3 python3-pip gcc git libncurses5-dev gcc-arm-none-eabi binutils-arm-none-eabi gdb-multiarch qemu qemu-system-arm -y -python3 -m pip install scons==4.4.0 requests +python3 -m pip install scons requests python3 -m pip install -U pyocd url=https://raw.githubusercontent.com/RT-Thread/env/master/touch_env.sh diff --git a/install_windows.ps1 b/install_windows.ps1 index 54aa7c3..392252f 100644 --- a/install_windows.ps1 +++ b/install_windows.ps1 @@ -71,7 +71,7 @@ cmd /c $RTT_PYTHON -m pip install --upgrade pip -i $PIP_SOURCE --trusted-host $P if (!(Test-Command scons)) { echo "Installing scons." - cmd /c $RTT_PYTHON -m pip install scons==4.4.0 -i $PIP_SOURCE --trusted-host $PIP_HOST + cmd /c $RTT_PYTHON -m pip install scons -i $PIP_SOURCE --trusted-host $PIP_HOST } else { echo "scons has installed. Jump this step." }