WindowsError(31, 'A device attached to the system is not functioning.') in arduino
I got this error.  Then switching USB ports fixed the problem.  Showed up on COM3 in either place. I just switched from a built-in USB port to on off a hub, and it started working.