goodai-ltm-benchmark icon indicating copy to clipboard operation
goodai-ltm-benchmark copied to clipboard

Error: _tkinter.TclError: no display name and no $DISPLAY environment variable

Open swzhangslg opened this issue 6 months ago • 1 comments

Hi,

First of all, thank you for your amazing work on this project! It has been incredibly helpful and well-structured.

I'm encountering an issue when trying to run runner/run_benchmark.py using the tkinter library. The error message I'm receiving is:

_tkinter.TclError: no display name and no $DISPLAY environment variable

A possible cause might be that the remote server I'm using doesn't have a graphical interface. This environment likely lacks a display server, which might be causing the issue.

Could you please advise on how to resolve this? Is there a way to run the script in a headless mode or another recommended approach to bypass this error?

Thank you once again for your hard work and dedication to this project!

Best regards, swzhangslg

swzhangslg avatar Aug 19 '24 14:08 swzhangslg