Skip to content

Conversation

@Lemonexe
Copy link

@Lemonexe Lemonexe commented Jan 2, 2026

Fix for an issue I had with setup on Linux – Installation (pip method).

The setup script correctly identified $PYTHON_CMD to 3.11 (as I have locally installed by pyenv).
But then it uses the plain python command. Maybe I'm missing something, but that seems to me as an oversight. Indeed, with this change I am able to proceed with setup ✔️ 🙂

"$PYTHON_CMD" "$SCRIPT_DIR/setup/setup_linux.py" --platform-requirements-file=requirements_linux_ipex.txt $QUIET
elif [ -x "$(command -v nvidia-smi)" ]; then
python "$SCRIPT_DIR/setup/setup_linux.py" --platform-requirements-file=requirements_linux.txt $QUIET
"$PYTHON_CMD" "$SCRIPT_DIR/setup/setup_linux.py" --platform-requirements-file=requirements_linux.txt $QUIET
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: this is my case which I tested; I have not tested the other cases.

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.

1 participant