Skip to content

Commit 0c5d538

Browse files
committed
Adjust check for python version
1 parent d8c9131 commit 0c5d538

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,10 @@ if ! command -v "$INSTALL_PYTHON_PATH" >/dev/null; then
135135
exit 1
136136
fi
137137

138-
if [ "$PYTHON_MAJOR_VER" -ne "3" ] || [ "$PYTHON_MINOR_VER" -lt "7" ] || [ "$PYTHON_MINOR_VER" -ge "13" ]; then
138+
if [ "$PYTHON_MAJOR_VER" -ne "3" ] || [ "$PYTHON_MINOR_VER" -lt "10" ] || [ "$PYTHON_MINOR_VER" -ge "14" ]; then
139139
echo "Chia requires Python version >= 3.10 and < 3.14.0" >&2
140+
echo $PYTHON_MAJOR_VER
141+
echo $PYTHON_MINOR_VER
140142
echo "Current Python version = $INSTALL_PYTHON_VERSION" >&2
141143
# If Arch, direct to Arch Wiki
142144
if type pacman >/dev/null 2>&1 && [ -f "/etc/arch-release" ]; then

0 commit comments

Comments
 (0)