mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 13:20:56 +02:00
build: remove externally-managed flag for python (#4400)
This commit is contained in:
parent
96bb62a010
commit
240f28d5dc
@ -391,14 +391,6 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# don't protect system packages from pip install
|
||||
# tracking issue: https://github.com/raspiblitz/raspiblitz/issues/4170
|
||||
for PYTHONDIR in /usr/lib/python3.*; do
|
||||
if [ -f "$PYTHONDIR/EXTERNALLY-MANAGED" ]; then
|
||||
rm "$PYTHONDIR/EXTERNALLY-MANAGED"
|
||||
fi
|
||||
done
|
||||
|
||||
# make sure /usr/bin/pip exists (and calls pip3 in Debian Buster)
|
||||
update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
|
||||
# 1. libs (for global python scripts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user