Dennis Miller - 2019-04-30

Looks like you have done something to make Python 3 the default on your system or you are directly invoking it with Python 3, since this is Python 2 code. If you are using Python 3 in an active virtual environment, then you will get this error since the virtual environment sittings will override the Python 2 system default with Python 3. Mint 19.1 uses Python 2 as default so it should work fine. You will have to find out what you have done to cause it to be run under Python 3.

In the meantime you should be able to explicitly run it under Python 2 by using the command:
$ python2 /usr/bin/diffuse