Hi! @yujia
I have the same error message when connecting Tobii to psychopy. (latest version 2023.2.3, but the older version was fine)
I wonder if the code you modified are the below ones or somewhere else? (below seems correct for me)
# Setup eyetracking
ioConfig['eyetracker.hw.tobii.EyeTracker'] = {
'name': 'tracker',
'model_name': 'Tobii TX300',
'serial_number': '',
'runtime_settings': {
'sampling_rate': 60.0,
}
}