为什么我无法使用python枕头显示图像?

这是我得到的代码。

class ImageBoardView(BoardView):
    """View of the Pipe game board"""
    def draw_board(self, board):
        self.delete(tk.ALL)
        self._images = {}
        self._image2 = []
        for i in range(self._grid_size) :
            for j in range(self._grid_size) :
                position=(i,j)
                char = board[self.position_to_index(position,self._grid_size)]
                if char == '~' :
                    self._images[i,j]=Image.open("zero_adjacent.gif")
                    rectangle = self.create_image(i * self._each_grid + self._half_grid,j * self._each_grid + self._half_grid, image=self._images[i,j])
                    self._images2.append(rectangle)
                else:
                    self._images[i,j] = Image.open("zero_adjacent.gif")
                    rectangle = self.create_image(i * self._each_grid + self._half_grid,
                                                  j * self._each_grid + self._half_grid,image=self._images[i,j])
                    self._images2.append(rectangle)

错误消息在这里。

Traceback (most recent call last):
  File "C:/Users/Admin/Downloads/images(4)/a3.py", line 496, in <module>
    main()
  File "C:/Users/Admin/Downloads/images(4)/a3.py", line 490, in main
    PokemonGame(root)
  File "C:/Users/Admin/Downloads/images(4)/a3.py", line 425, in __init__
    self.draw()
  File "C:/Users/Admin/Downloads/images(4)/a3.py", line 437, in draw
    self._view.draw_board(self._gameModel.get_game())
  File "C:/Users/Admin/Downloads/images(4)/a3.py", line 369, in draw_board
    rectangle = self.create_image(i * self._each_grid + self._half_grid,j * self._each_grid + self._half_grid, image=self._images[i,j])
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\lib\tkinter\__init__.py", line 2785, in create_image
    return self._create('image', args, kw)
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\lib\tkinter\__init__.py", line 2771, in _create
    return self.tk.getint(self.tk.call(
_tkinter.TclError: image "<PIL.GifImagePlugin.GifImageFile image mode=P size=63x60 at 0x2D6A7C0>" doesn't exist