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

Fix python binary lookup on debian bullseye (11) #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oxivanisher
Copy link

@oxivanisher oxivanisher commented Dec 2, 2021

On debian bullseye (now stable), the /usr/bin/python symlink is intentionally removed (see the note). With this change, the wrapper detects python3, python2 and python symlinks in this order.

The error that lead me to this was (added so that searches on github will find this PR):
No suitable python version found (v2.7 or higher required). Aborting

On debian bullseye, the `/usr/bin/python` symlink is [intentionally removed](https://wiki.debian.org/Python#Python_in_Debian) (see the note). With this change, the wrapper detects `python3`, `python2` and `python` symlinks in this order.

The error that lead me to this was (added so that searches on github will find this PR):
`No suitable python version found (v2.7 or higher required). Aborting`
@janArb
Copy link

janArb commented Jun 14, 2022

Thanks for the pull request, saved my day under MacOS.

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.

None yet

2 participants