Skip to content

Commit

Permalink
add --break-system-packages option to pip3 install
Browse files Browse the repository at this point in the history
as required for bookworm, see MiczFlor#2050 (comment)
  • Loading branch information
Chilipp committed Nov 9, 2023
1 parent 0660586 commit ab6e3b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installation/routines/setup_jukebox_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ _jukebox_core_build_and_install_pyzmq() {
fi

sudo ZMQ_PREFIX="${ZMQ_PREFIX}" ZMQ_DRAFT_API=1 \
pip3 install --no-cache-dir --no-binary "pyzmq" --pre pyzmq
pip3 install --no-cache-dir --no-binary "pyzmq" --pre --break-system-packages pyzmq
else
echo " Skipping. pyzmq already installed"
fi
Expand All @@ -108,7 +108,7 @@ _jukebox_core_build_and_install_pyzmq() {
_jukebox_core_install_python_requirements() {
echo " Install requirements"
cd "${INSTALLATION_PATH}" || exit_on_error
sudo pip3 install --no-cache-dir -r "${INSTALLATION_PATH}/requirements.txt"
sudo pip3 install --no-cache-dir --break-system-packages -r "${INSTALLATION_PATH}/requirements.txt"
}

_jukebox_core_install_settings() {
Expand Down

0 comments on commit ab6e3b0

Please sign in to comment.