image-sorter2 icon indicating copy to clipboard operation
image-sorter2 copied to clipboard

Run in Jupyter notebook

Open gody7334 opened this issue 4 years ago • 1 comments

HI, in your description mention, copy the code into jupyter notebook and run it, it give me: tkinter: no display name and no $DISPLAY environment variable

How does it work? Thanks

gody7334 avatar Mar 25 '21 23:03 gody7334

Hm, I no longer use jupyter notebook, but instead colab. So I tried to run the code in colab and it gave me the same error. I really don't know why this happens, I just code in Python and have no idea about packages. All I can say is that other people haven't complaint about it and I think it is some packages incompatibility error. Unfortunately, I see that I haven't stated with what version of pandas, tkinter, numpy, etc. the code has worked previously. Could you please post this question on stack overflow? I am also interested in resolving this issue for future users. If you find how to fix it please post the solution here and I will also include in the read.me what package versions to use. Sorry that I can't help more, hope you find a solution!

Nestak2 avatar Mar 26 '21 12:03 Nestak2