Skip to content
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

Merged
merged 3 commits into from
Jun 22, 2023
Merged

Conversation

Ranvirsv
Copy link
Contributor

No description provided.

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
Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor Author

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
Copy link
Contributor

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

@Ranvirsv Ranvirsv requested a review from powderluv June 22, 2023 00:22
@powderluv powderluv merged commit 18daec7 into nod-ai:main Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants