Use pipx install since upgrade doesn't work on first install

Maybe should add --force to allow upgrades, but keeping it stable for now.
This commit is contained in:
ViViDboarder 2023-12-13 10:26:27 -08:00
parent 87ad6b6947
commit f9fa1677d6

View File

@ -93,7 +93,7 @@ function maybe_pip_install() {
if command_exists pipx ;then
# Prefer pipx to keep environments isolated
pipx upgrade "${user_bins[@]}"
pipx install "${user_bins[@]}"
else
if command_exists pip3 ;then
# If pip3 is there, use it to ensure we're using python 3