AnsweredAssumed Answered

tkinter in notebooks for ArcGIS Online

Question asked by r3weber on Apr 13, 2020
Latest reply on Apr 29, 2020 by j.cullen-esristaff

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:

 

TclError: couldn't connect to display ":0.0"

 

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.

 

The specified item was not found.

Outcomes