On Windows 11, python 3.13.1, environment variable PYTHON_COLORS=0 turns off colors in the interpreter.