You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From this section of the script, where it installs meson and ninja with pip3 on linux, I find that they get installed to ~/.local/bin/ and not the path specified below, so later parts of the script don't find meson and ninja.
#check if meson and ninja are installed MESON_INSTALLED AND system is not MacOS
if ! $MESON_INSTALLED; then
# meson and ninja can be installed via pip3
execute pip3 install pip setuptools --quiet --upgrade --no-cache-dir --disable-pip-version-check
for r in meson ninja; do
if ! command_exists ${r}; then
execute pip3 install ${r} --quiet --upgrade --no-cache-dir --disable-pip-version-check
fi
export PATH=$PATH:~/Library/Python/3.9/bin
done
fi
fi
I think the script could be updated on that line to also add ~/.local/bin/ to path.
I tested this on a minimal debian bullseye image, the existing PATH was just:
From this section of the script, where it installs
meson
andninja
with pip3 on linux, I find that they get installed to~/.local/bin/
and not the path specified below, so later parts of the script don't find meson and ninja.I think the script could be updated on that line to also add
~/.local/bin/
to path.I tested this on a minimal debian bullseye image, the existing PATH was just:
The text was updated successfully, but these errors were encountered: