tkinter.TclError: image “pyimage3” doesn't exist

后端 未结 4 446
陌清茗
陌清茗 2020-11-27 06:41

I\'m having trouble with a function that shows an image for two seconds on screen, and then is destroyed. When the program runs the functions initial call procedurely works

4条回答
  •  情深已故
    2020-11-27 07:03

    I had been getting the same error, and the above methods work well to fix it, but i also found that if you aren't going to be changing all of this, then you can restart the kernel (in jupyter notebook) or restart your python interpreter

    And that should make it work the next time. I am not entirely sure how and why this works tho, but it does and is a simple solution for the time being

提交回复
热议问题