CentOS 8 - no python

Jonathan Brandmeyer jbrandmeyer at planetiq.com
Tue Jan 9 17:05:40 UTC 2024


On Mon, Jan 8, 2024 at 9:13 AM Frank Kühndel
<frank.kuehndel at embedded-brains.de> wrote:
>
> Hi Joel,
>
> have a great 2024!
>
> On 12/24/23 22:16, Joel Sherrill wrote:
>  > Hi
>  >
>  > Trying to bring up Coverity builds on a Centos 8 machine, I ran into
> this:
>  >
>  > + ../source-builder/sb-set-builder --log=l-sparc.txt
>  > --prefix=/home/joel/rtems-cron-coverity/tools/6 --mail --mail-to=
>  > build at rtems.org  --mail-from=joel at rtems.org 6/rtems-sparc
>  >
>  > /usr/bin/env: ‘python’: No such file or directory
>  >
>  > There is, in fact, no python executable -- there is python2 and python3.
>  >
>  > Suggestions other than adding a symlink?
>
> In RHEL 9.3 there exists the package python-unversioned-command which
> creates a "python" command for "python3". I do not know whether it
> exists in CentOS 8.

Similarly, Debian 11 and Ubuntu 20.04 LTS dropped /usr/bin/python as
well.  Debian 12 introduced the following workaround package, which we
are using to support RSB successfully today.

https://packages.debian.org/bookworm/python-is-python3

HTH,

-- 
Jonathan Brandmeyer
PlanetiQ


More information about the devel mailing list