0

Coding in Python using Google Colab and getting this error when running the following code:-

from keras.models import load_model
import cv2
import numpy as np
import tkinter
from tkinter import messagebox
import smtplib

# Initialize Tkinter
root = tkinter.Tk()
root.withdraw()

ERROR:-

TclError Traceback (most recent call last)
<ipython-input-3-01f10ba55e31> in <module>()
      8 
      9 # Initialize Tkinter
---> 10 root = tkinter.Tk()
     11 root.withdraw()
     12 

What can I change to fix it?

Andrew
  • 795
  • 4
  • 18

0 Answers0