from tkinter import * from PIL import ImageTk, Image #python pip install Pillow window = Tk() canvas = Canvas(window, height=300, width=300) canvas.pack() my_image = ImageTk.PhotoImage(file='1.jpg', master= window) canvas.create_image(50, 50, anchor=NW, image=my_image) window.mainloop()