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

Avoid python command usage in install.sh #374

Closed
medicalwei opened this issue Apr 29, 2020 · 0 comments · Fixed by #376
Closed

Avoid python command usage in install.sh #374

medicalwei opened this issue Apr 29, 2020 · 0 comments · Fixed by #376

Comments

@medicalwei
Copy link

Hi,

I have a Debian installation that doesn't have python binary since Python 2 is deprecated, and that gave me the following error:

➜  ~ curl -L https://git.io/rustlings | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100  2923  100  2923    0     0    436      0  0:00:06  0:00:06 --:--:--   668
Let's get you set up with Rustlings!
Checking requirements...
SUCCESS: Git is installed
SUCCESS: Rust is installed
SUCCESS: Cargo is installed
SUCCESS: Rust is up to date
Cloning Rustlings at rustlings/...
bash: line 89: python: command not found
(23) Failed writing body
Checking out version ...
error: pathspec 'tags/' did not match any file(s) known to git
Installing the 'rustlings' executable...

I would prefer avoid using python command, and use python3 command when it is available.

AbdouSeck added a commit to AbdouSeck/rustlings that referenced this issue Apr 29, 2020
MendelMonteiro pushed a commit to MendelMonteiro/rustlings that referenced this issue Jun 28, 2020
dlemel8 pushed a commit to dlemel8/rustlings that referenced this issue Aug 2, 2020
ppp3 pushed a commit to ppp3/rustlings that referenced this issue May 23, 2022
dmoore04 pushed a commit to dmoore04/rustlings that referenced this issue 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 a pull request may close this issue.

1 participant