add --break-system-packages to pip installs

This commit is contained in:
RandomNinjaAtk 2024-03-27 16:42:10 -04:00 committed by GitHub
parent 959a6f13e4
commit 56c6f1bc11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,8 +36,8 @@ InstallRequirements () {
mkdir -p /config/scripts/sma/config
touch /config/scripts/sma/config/sma.log
echo "************ install pip dependencies ************"
pip install --upgrade pip --no-cache-dir
pip install -r /config/scripts/sma/setup/requirements.txt --no-cache-dir
pip install --upgrade pip --no-cache-dir --break-system-packages
pip install -r /config/scripts/sma/setup/requirements.txt --no-cache-dir --break-system-packages
chmod 777 -R /config/scripts/sma
}