I ran into this error as well. As far as I can tell, it seems to be related to a small bug in the event.py file that deals with calculating the updated mouse position. If you look on line 558 in this file, you’ll see this:
lastPosPix = lastPosPix - self.win.size / 2
The problem is that self.win.size here is a tuple, which does not support elementwise division or subtraction. However, lastPosPix is a numpy array, which does support these operations. I fixed this bug by editing this line like so: