Keep getting this error when trying to use tkinter in arcgis notebooks hosted in ArcGIS Online.
TclError: no display name and no $DISPLAY environment variable
From what I have seen it this is an environment variable that needs to be set in the docker image. Using %env DISPLAY= does change variable but doesn't seem to clear up the issue. I will then get this error:
<SPAN class="" style="color: #2b91af; border: 0px; font-size: 13px;">TclError</SPAN><SPAN class="" style="color: var(--black-750); border: 0px; font-size: 13px;">:</SPAN><SPAN class="" style="color: var(--black-750); border: 0px; font-size: 13px;"> couldn</SPAN><SPAN class="" style="color: var(--red-800); border: 0px; font-size: 13px;">'t connect to display ":0.0"</SPAN>
Since I do not have the control to alter these docker images used for Notebooks in ArcGIS Online I am wondering if someone from ESRI can look into this so tkinter works in notebooks for AGOL.
My program runs fine when I run it from a jupyter notebook on my local machine.
ArcGIS Notebooks Beta - Online