Traceback (most recent call last):


 "<stdin>", line 1, in <module>
AttributeError: module 'socket' has no attribute 'PF_CAN'

Traceback (most recent call last):


 "/Users/bassettlab/.local/share/virtualenvs/task/bin/twoday_task_fmri", line 11, in <module>

load_entry_point('fmri-network-learning', 'console_scripts', 'twoday_task_fmri')()


 "/Users/bassettlab/task/experiment_twoday.py", line 673, in main

run_experiment(args.subject_id, 'scan1', args.fullscreen, args.in_scanner)


 "/Users/bassettlab/task/experiment.py", line 586, in run_experiment

score = block.run()


 "/Users/bassettlab/task/models.py", line 548, in run

self.keyboard.getKeys()


 "/Users/bassettlab/.local/share/virtualenvs/task/lib/python3.7/site-packages/psychopy/iohub/client/keyboard.py", line 285, in getKeys

self._syncDeviceState()


 "/Users/bassettlab/.local/share/virtualenvs/task/lib/python3.7/site-packages/psychopy/iohub/client/keyboard.py", line 190, in _syncDeviceState

self._reporting = kb_state.get('reporting_events')
AttributeError: 'int' object has no attribute 'get'
