-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added check for python version #1570
Conversation
setup_venv.sh
Outdated
@@ -27,6 +27,11 @@ PYTHON_VERSION_X_Y=`${PYTHON} -c 'import sys; version=sys.version_info[:2]; prin | |||
echo "Python: $PYTHON" | |||
echo "Python version: $PYTHON_VERSION_X_Y" | |||
|
|||
if [[ "$(python3 --version 2>&1)" != "Python 3.11"* ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check PYTHON_VERSION_X_Y
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like below if [ "$PYTHON_VERSION_X_Y" == "3.11" ]; then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh okay
setup_venv.sh
Outdated
@@ -27,6 +27,11 @@ PYTHON_VERSION_X_Y=`${PYTHON} -c 'import sys; version=sys.version_info[:2]; prin | |||
echo "Python: $PYTHON" | |||
echo "Python version: $PYTHON_VERSION_X_Y" | |||
|
|||
if [[ "$(python3 --version 2>&1)" != "Python 3.11"* ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like below if [ "$PYTHON_VERSION_X_Y" == "3.11" ]; then
No description provided.