Cedrus RB-830 ButtonBox on macOS

macOS Monterey 12.3 (21E230)
PsychoPy version 2022.1.1
Standard Standalone

Hello everyone,

I’m trying to get a Cedrus RB-830 to work on a Mac. I built a simple experiment with just one text stimulus and the response box input. When I try to run it, I’m prompted with the following errors:


#### Running: /Users/psychologylabmacmini3/Desktop/test/untitled_lastrun.py ####
62.0818     INFO     Loaded monitor calibration from ['2022_03_17 12:01']
2022-03-17 17:13:14.577 python[1878:49500] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/cr/h16k43zn1578rn5d2k3rbhzc0000gn/T/org.opensciencetools.psychopy.savedState
2.8405     WARNING     We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'PTB', 'pyo', 'pygame'] (in that order).
Traceback (most recent call last):
  File "/Users/psychologylabmacmini3/Desktop/test/untitled_lastrun.py", line 31, in <module>
    import pyxid2 as pyxid
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/pyxid2/__init__.py", line 3, in <module>
    from .pyxid_impl import *  # noqa
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/pyxid2/pyxid_impl.py", line 6, in <module>
    from .internal import XidConnection
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/pyxid2/internal.py", line 16, in <module>
    raise(e)  # not an error we know so pass it on
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/pyxid2/internal.py", line 9, in <module>
    import ftd2xx
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/ftd2xx/__init__.py", line 12, in <module>
    from .ftd2xx import *
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/ftd2xx/ftd2xx.py", line 17, in <module>
    from . import _ftd2xx_darwin as _ft
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/ftd2xx/_ftd2xx_darwin.py", line 7, in <module>
    _libraries['/usr/local/lib/libftd2xx.dylib'] = CDLL('/usr/local/lib/libftd2xx.dylib')
  File "ctypes/__init__.pyc", line 373, in __init__
OSError: dlopen(/usr/local/lib/libftd2xx.dylib, 0x0006): tried: '/usr/local/lib/libftd2xx.dylib' (no such file)
################# Experiment ended with exit code 1 [pid:1878] #################

Would anyone have any ideas?

Thank you,
Gustavo

It looks like you are missing the FTDI D2xx dylib on your machine. Please see

https://ftdichip.com/drivers/d2xx-drivers