ansible-cmdb icon indicating copy to clipboard operation
ansible-cmdb copied to clipboard

Fix python binary lookup on debian bullseye (11)

Open oxivanisher opened this issue 3 years ago • 1 comments

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

oxivanisher avatar Dec 02 '21 14:12 oxivanisher

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

janArb avatar Jun 14 '22 08:06 janArb