File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,18 +103,18 @@ elif [[ -n "${CONDA_PREFIX:-}" && -x "${CONDA_PREFIX}/bin/python" ]]; then
103103 # 3) Conda environment python, if available
104104 PY=" ${CONDA_PREFIX} /bin/python"
105105else
106- # 4) Fallback: system python3, but require >= 3.9
106+ # 4) Fallback: system python3, but require >= 3.10
107107 if ! command -v python3 > /dev/null 2>&1 ; then
108- die " python3 not found. Pass --python=/path/to/python3.9 + or set PYTHON_BIN_PATH."
108+ die " python3 not found. Pass --python=/path/to/python3.10 + or set PYTHON_BIN_PATH."
109109 fi
110110
111111 if ! python3 - << 'PY '
112112import sys
113- raise SystemExit(0 if sys.version_info[:2] >= (3, 9 ) else 1)
113+ raise SystemExit(0 if sys.version_info[:2] >= (3, 10 ) else 1)
114114PY
115115 then
116- die " Python 3.9 + required for TensorFlow Quantum, but found " \
117- " $( python3 -V 2>&1 ) . Pass --python=/path/to/python3.9 + or set PYTHON_BIN_PATH."
116+ die " Python 3.10 + required for TensorFlow Quantum, but found " \
117+ " $( python3 -V 2>&1 ) . Pass --python=/path/to/python3.10 + or set PYTHON_BIN_PATH."
118118 fi
119119
120120 PY=" $( command -v python3) "
You can’t perform that action at this time.
0 commit comments