Skip to content

Commit

Permalink
Write python version error to stderr (Chia-Network#11239)
Browse files Browse the repository at this point in the history
Co-authored-by: wjblanke <[email protected]>
  • Loading branch information
LuaKT and wjblanke authored May 14, 2022
1 parent d1e4a38 commit c3272fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ find_python() {
if [ "$BEST_VERSION" = "3" ]; then
PY3_VERSION=$(python$BEST_VERSION --version | cut -d ' ' -f2)
if [[ "$PY3_VERSION" =~ 3.11.* ]]; then
echo "Chia requires Python version < 3.11.0"
echo "Current Python version = $PY3_VERSION"
echo "Chia requires Python version < 3.11.0" >&2
echo "Current Python version = $PY3_VERSION" >&2
# If Arch, direct to Arch Wiki
if type pacman >/dev/null 2>&1 && [ -f "/etc/arch-release" ]; then
echo "Please see https://wiki.archlinux.org/title/python#Old_versions for support."
echo "Please see https://wiki.archlinux.org/title/python#Old_versions for support." >&2
fi
exit 1
fi
Expand Down

0 comments on commit c3272fa

Please sign in to comment.