Change shebang of validation script to python, because python3 is not installed on Windows#7764
Change shebang of validation script to python, because python3 is not installed on Windows#7764Cjkjvfnby wants to merge 1 commit intoTheAlgorithms:masterfrom
Conversation
… Python installed
|
Does Windows use shebang files?!? On my Mac... This can be fixed by adding a venv but that is the default behavior. |
It uses the associated program by an extension. When Python is installed,
On my Mac I use pyenv, I have both python and python3. But not sure that my installation could be considered typical. Docker image python:3.9.10 also supports I'll check if I could fix it on my Win machine with py.ini. If it will work I'll post the solution here and close the PR. Other users will be able to find this problem by searching. |
|
Funny because, I use |
|
In my case, it's I haven't found any workaround yet. |
Describe your change:
When I run
pre-commit run --all filesI got an error.This error happens because the python3 executable is not found.
I have a Windows machine and just installed the latest Python via the official installer. Python3 alias is not included.
It was a time when using python2 and python3 aliases was important, but now python2 is not used anymore so it should not be a problem.
Checklist:
Fixes: #{$ISSUE_NO}.