Excuse me. My chip is M1 pro. It can not display text, pictures, etc., in the 2.3 version. Do you have such a problem? The error message is:
Generating PsychoPy script…
########## Running: /Users/liuyaqi/Desktop/preexp/untitled_lastrun.py ##########
3730.7726 INFO Loaded monitor calibration from [‘2022_02_02 21:11’]
PsychHID-ERROR: Could not enumerate and attach to all HID devices (HIDBuildDeviceList(0,0) failed)!
PsychHID-ERROR: One reason could be that some HID devices are already exclusively claimed by some 3rd party device drivers
PsychHID-ERROR: or applications. I will now retry to only claim control of a hopefully safe subset of devices like standard
PsychHID-ERROR: keyboards, mice, gamepads and supported USB-DAQ devices and other vendor defined devices and hope this goes better…
PsychHID-INFO: That worked. A subset of regular mouse, keyboard etc. input devices and maybe some vendor defined devices will be available at least.
INTERNAL PSYCHTOOLBOX ERROR
error: PsychError_system
general description: Error reported by a system call
specific description: Failed to create event queue for detecting key press.
module name: PsychHID
subfunction call: KbQueueCreate
file name: ./PsychSourceGL/Source/OSX/PsychHID/PsychHIDStandardInterfaces.c
function name: PsychHIDOSKbQueueCreate
line number: 956
PsychHID:KbQueueCreate: See error message printed above.
0.6176 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).
3.8860 WARNING User requested fullscreen with size [1024 768], but screen is actually [1512, 982]. Using actual size
5.0406 WARNING Couldn’t measure a consistent frame rate.
- Is your graphics card set to sync to vertical blank?
- Are you running other processes on your computer?
5.9566 WARNING Couldn’t measure a consistent frame rate.
- Is your graphics card set to sync to vertical blank?
- Are you running other processes on your computer?
2022-02-07 12:09:53.217 python[2178:69731] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/mn/x552f7z15ql6q0zcxvcttcbh0000gn/T/org.opensciencetools.psychopy.savedState
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/hardware/keyboard.py”, line 406, in getBuffer
kb_id=kb_id)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/hardware/keyboard.py”, line 447, in init
self.dev = hid.Keyboard(kb_id) # a PTB keyboard object
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychtoolbox/hid.py”, line 137, in init
self._create_queue(buffer_size)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychtoolbox/hid.py”, line 145, in _create_queue
None, 0, num_slots, flags, win_handle)
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Users/liuyaqi/Desktop/preexp/untitled_lastrun.py”, line 84, in
defaultKeyboard = keyboard.Keyboard()
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/hardware/keyboard.py”, line 190, in init
buffer = _keyBuffers.getBuffer(devId, bufferSize)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/hardware/keyboard.py”, line 410, in getBuffer
raise OSError("Failed to connect to Keyboard globally. "
OSError: Failed to connect to Keyboard globally. You need to add PsychoPy App bundle (or the terminal if you run from terminal) to the System Preferences/Privacy/Accessibility (macOS <= 10.14) or System Preferences/Privacy/InputMonitoring (macOS >= 10.15).
Experiment ended.