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

Check if python is available while checking for git, rustc and cargo #376

Merged

Conversation

AbdouSeck
Copy link
Contributor

The bashinstallation script is edited to make sure that we're checking that there is an installation of python available on the machine.

We start by checking for python3, then falling back to python. If neither is available, we check one last time for python2. If none of these is successful, we exit the script with a return code of 1.

closes #374

Thank you,

Abdou

@shadows-withal shadows-withal merged commit 071b51d into rust-lang:master Apr 30, 2020
@AbdouSeck AbdouSeck deleted the fix-installation-python-version branch June 3, 2020 13:32
ppp3 pushed a commit to ppp3/rustlings that referenced this pull request May 23, 2022
dmoore04 pushed a commit to dmoore04/rustlings that referenced this pull request Sep 11, 2022
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.

Avoid python command usage in install.sh
2 participants