From 6d72669154bcb4ea630549fc547ddedca77ce169 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Tue, 13 Aug 2024 12:28:22 +0200 Subject: [PATCH 1/2] Set explicit path for macOS/arm64 --- src/jack.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/jack.py b/src/jack.py index 3501bdc..dec9cd7 100644 --- a/src/jack.py +++ b/src/jack.py @@ -41,7 +41,10 @@ _libname = _find_library('jack') if _libname is None: - raise OSError('JACK library not found') + if _platform.system() == 'Darwin' and _platform.machine() == 'arm64': + _libname = '/opt/homebrew/lib/libjack.dylib' + else: + raise OSError('JACK library not found') _lib = _ffi.dlopen(_libname) _AUDIO = b'32 bit float mono audio' From 03a8073223a5283cfff62b9b12d37241efc0be18 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Tue, 13 Aug 2024 12:33:26 +0200 Subject: [PATCH 2/2] DOC: fix Anaconda link --- doc/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/installation.rst b/doc/installation.rst index a417237..16b3b74 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -76,7 +76,7 @@ NumPy (optional): .. _JACK: https://jackaudio.org/ .. _NumPy: https://numpy.org/ .. _Python: https://www.python.org/ -.. _Anaconda: https://www.anaconda.com/download#downloads +.. _Anaconda: https://www.anaconda.com/download/success .. _WinPython: http://winpython.github.io/ .. _C Foreign Function Interface for Python: https://cffi.readthedocs.org/ .. _PyPy: https://www.pypy.org/