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
RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.6' #1375
Comments
Config at https://github.com/tskit-dev/tskit/blob/master/.pre-commit-config.yaml Seems adding |
this probably means they don't have python3.6 -- probably best to do |
Brill - thanks for that! |
@gaborbernat -- just a data point, I think the old error message was easier to understand here:
vs
|
Well, in theory it's more accurate to say could not be found opposed to does not exists; because the executable might still be available on the machine, we could just not discover it because e.g. it's no on the PATH. |
yeah, perhaps just some wording can be rearranged, maybe something like this?
|
RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.6' => black was pinned to use Python 3.6 syntax, but it could not be found on GHA. Also see pre-commit/pre-commit#1375
For anyone still having this problem, following @asottile recommendation of adding
You can use a more specific version, in my case I'm using |
Over at tskit-dev/tskit#498 a user has reported this error:
Is this related to pypa/virtualenv#1515 ?
The text was updated successfully, but these errors were encountered: