From 559d0ed93b99fe8b02a83627cf5f707af3739fc2 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Sun, 12 Sep 2021 05:24:38 +0000 Subject: [PATCH] update pip first before installing packages --- .../skel/Library/user-setup/100.install-python-packages.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custompkg/root/etc/skel/Library/user-setup/100.install-python-packages.sh b/custompkg/root/etc/skel/Library/user-setup/100.install-python-packages.sh index 5fb877a..2c759af 100644 --- a/custompkg/root/etc/skel/Library/user-setup/100.install-python-packages.sh +++ b/custompkg/root/etc/skel/Library/user-setup/100.install-python-packages.sh @@ -6,6 +6,11 @@ PYTHON_PKGS=" virtualenv " + +# first, upgrade pip: + +/usr/bin/pip3 install --upgrade --user pip + for PKG in $PYTHON_PKGS ; do /usr/bin/pip3 install --user $PKG done