AssertionError: SetDeviceGammaRamp failed

Hi @alirezakr, from past posts, this looks like an issue with your openGL drivers, and they will need to be updated.