I would like to show an image using python on windows10 . When I do:
from PIL import Image
im = Image.open('image.png')
im.show()
my default viewer doesn't open up and a error tells me that permmission denied.
I found a workaround here. They recommend changing PIL's code to
start /wait %s && PING 127.0.0.1 -n 5 > NUL && del /f %s" % (file, file)
However, doesn't work.
I thought, maybe the C:/Windows/Temp
denied, so I add a everyone user , but still the same error.
Is there a solution?