From 373fd38538a63fb7cc00820c74dc782ce3cc832e Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Wed, 8 Nov 2023 17:00:48 +0100 Subject: [PATCH] Fix pyzmq installation from source with drafts support (#2096) * Fix pyzmq installation from source with drafts support * Update pyzmq docs link --- installation/routines/setup_jukebox_core.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation/routines/setup_jukebox_core.sh b/installation/routines/setup_jukebox_core.sh index 88b65bcc0..6f773f129 100644 --- a/installation/routines/setup_jukebox_core.sh +++ b/installation/routines/setup_jukebox_core.sh @@ -74,7 +74,7 @@ _jukebox_core_build_and_install_pyzmq() { # we need to compile the latest version in Github # As soon WebSockets support is stable in ZMQ, this can be removed # Sources: - # https://pyzmq.readthedocs.io/en/latest/draft.html + # https://pyzmq.readthedocs.io/en/latest/howto/draft.html # https://github.com/MonsieurV/ZeroMQ-RPi/blob/master/README.md echo " Build and install pyzmq with WebSockets Support" @@ -98,8 +98,8 @@ _jukebox_core_build_and_install_pyzmq() { _jukebox_core_download_prebuild_libzmq_with_drafts fi - sudo ZMQ_PREFIX=${ZMQ_PREFIX} ZMQ_DRAFT_API=1 \ - pip3 install --no-cache-dir --pre pyzmq + sudo ZMQ_PREFIX="${ZMQ_PREFIX}" ZMQ_DRAFT_API=1 \ + pip3 install --no-cache-dir --no-binary "pyzmq" --pre pyzmq else echo " Skipping. pyzmq already installed" fi