We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b959943 + 7887afe commit 8c57202Copy full SHA for 8c57202
setup.sh
@@ -49,7 +49,7 @@ fi
49
PY_VERSION=${PY_VERSION##* }
50
PY_VERSION=${PY_VERSION%.*}
51
# shellcheck disable=SC2072
52
-if [ "$PYTHON_VERSION" \< '3.12' ]; then
+if [[ '3.12' > "$PY_VERSION" ]]; then
53
echo -e "\n\e[31mERROR: Outdated Python Version! You are currently using ${PY_VERSION}.*, but MaxText requires Python version 3.12 or higher.\e[0m"
54
# Ask the user if they want to create a virtual environment with uv
55
read -p "Would you like to create a Python 3.12 virtual environment using uv? (y/n) " -n 1 -r
0 commit comments