Hi, I am able to install it now (virtual environment helped)
% uv pip show saleae_mso_api
Name: saleae-mso-api
Version: 0.4.0
Location: ~/.venv/lib/python3.11/site-packages
Requires: numpy, psutil, pyusb
Required-by:
But encounter a new issue when running the sample code from Getting Started - Saleae API Documentation
% .venv/bin/python sample.py
Traceback (most recent call last):
File “~/sample.py”, line 5, in
mso = mso_api.MSO(serial_number="7B33M")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “~/.venv/lib/python3.11/site-packages/saleae/mso_api/mso_device.py”, line 40, in _init_
self.wrapper = wrapper or MsoWrapper(serial_number)
^^^^^^^^^^^^^^^^^^^^^^^^^
File “.venv/lib/python3.11/site-packages/saleae/mso_api/wrapper.py”, line 136, in _init_
if proc.name() == get_binary_tool_path().name:
^^^^^^^^^^^^^^^^^^^^^^
File “~/.venv/lib/python3.11/site-packages/saleae/mso_api/wrapper.py”, line 62, in get_binary_tool_path
path = repo_root / "bin" / TO_PLATFORM_DIR\[platform.system()\] / f"mso_data_recorder{suffix}"
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^^^^^
KeyError: ‘Darwin’
Exception ignored in: <function MSO._del_ at 0x102a41260>
Traceback (most recent call last):
File “~/.venv/lib/python3.11/site-packages/saleae/mso_api/mso_device.py”, line 104, in _del_
self.close()
File “~/.venv/lib/python3.11/site-packages/saleae/mso_api/mso_device.py”, line 101, in close
self.wrapper.close()
^^^^^^^^^^^^
AttributeError: ‘MSO’ object has no attribute ‘wrapper’
I am on macOS 15.6
Thanks for any suggestions.