OK, I have one thought for a possible quick-fix: Are you running psychopy as an administrator? If not, try that. Track down the psychopy.exe in your program files, right click, properties, compatibility, check ‘run as administrator’ (if you’re on Windows 10, earlier versions might be slightly different but the properties tab should still get you there).
Beyond that I’m not sure why you’re getting the error, but I can at least explain what the error seems to be about. The short version is that it’s failing to create your display, for some reason.
When you launch iohub, it goes through the config file and tries to create and connect to each of the devices listed in it, which in this case should be the monitor (display), tracker, keyboard, and mouse. The error is saying that it failed, and the lines it’s referring to in that first block of errors refers to trying to create the monitor specifically. So, it’s trying to get in touch with the display, but for some reason it’s drawing a blank.
It’s the kind of error you might get if the monitor isn’t saved to the psychopy monitor center, or the information in the monitor center is mismatched with the information in the config file. I’m assuming you did create the monitor in the monitor center, so I’m not sure why it’s having an issue unless it’s some kind of permissions problem with psychopy not running as an administrator. I’d say check everything in your monitor center again, maybe add “from psychopy import monitors” to the top of your code (doubt it will make a difference but who knows), and beyond that I’m afraid I’m out of ideas.