Kodi-send does not exist Bad interpreter Ubuntu 20.04.
#10
(2020-11-21, 21:50)Preacher Wrote: Would it be better to use #!/usr/bin/env pythonPython as the first line, rather than explicitly specify a version?
No, because on debian based distros there is no "python" by default now, unless you install a python-is-python* package.

/usr/bin/env python2 makes sense tho.
 
(2020-11-21, 22:39)graysky Wrote: On Arch both python2 and python3 (called just python) co-exist so that's why I recommended it.  I do not know about others distros.

On arch /usr/bin/python is a symlink to /usr/bin/python3.
On debian the decision was that this might cause unexpected issues with legacy stuff, so it's better to fail because of missing shebang and let the user examine and fix the situation, rather then do something unexpected.
Reply


Messages In This Thread
RE: Kodi-send does not exist Bad interpreter Ubuntu 20.04. - by asavah - 2020-11-22, 00:56
Logout Mark Read Team Forum Stats Members Help
Kodi-send does not exist Bad interpreter Ubuntu 20.04.0