When trying to plot using Seaborn module in the ArcGIS Pro (2.6) Python shell, I get an error from the tkinter package:
File "C:\Users\Sarah\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\tkinter\__init__.py", line 2018, in __init__
baseName = os.path.basename(sys.argv[0])
IndexError: list index out of range
The minimum code that reproduces the error is as follows:
import tkinter
tkinter._test()
I tried updating the packages, but it doesn't solve the problem. When executing the same two lines of code outside ArcGIS Pro (directly from the python shell), there is no error. Hence, I assume it is an intrinsic ArcGIS Pro error.