Import error

I am getting an error for both python3 and python2 with raspberry pi 0 and 3

I have tried installing from the git repo and enabled i2c.

i2c doesnt put out anything that is out of the ordinary

I am on retropie. I have tried it on multiple versions of retropie.

the one liner bash script doesnt work. I tried that first.

I am trying to use a scrollphat.

Here is the error:

  File "test-graph.py", line 5, in <module>
    import scrollphat
  File "/usr/lib/python3/dist-packages/scrollphat/__init__.py", line 20, in <module>
    controller = IS31FL3730(smbus, font)
  File "/usr/lib/python3/dist-packages/scrollphat/IS31FL3730.py", line 21, in __init__
    self.set_mode(self.i2cConstants.MODE_5X11)
  File "/usr/lib/python3/dist-packages/scrollphat/IS31FL3730.py", line 62, in set_mode
    self.bus.write_i2c_block_data(self.i2cConstants.I2C_ADDR, self.i2cConstants.CMD_SET_MODE, [self.i2cConstants.MODE_5X11])
OSError: [Errno 5] Input/output error