revert --break-system-packages change

This commit is contained in:
Delan Azabani 2024-01-11 12:20:48 +08:00
parent bcc1029156
commit d9608a912d
1 changed files with 1 additions and 5 deletions

View File

@ -162,11 +162,7 @@ function installPackagesWeb() {
# cache the pip packages
function cachePipPackages(){
pushd $WEB_INSTALL_PATH
# TODO --break-system-packages can break installation of other packages with
# `apt install python3-...` and updating python packages with `apt upgrade`.
# We should really use a venv here, or people might have problems using
# their Pi for more than just PiSCSI.
sudo pip3 install -r ./requirements.txt --break-system-packages
sudo pip3 install -r ./requirements.txt
popd
}