from tkinter import *
root = Tk()
root.geometry('300x500')
root.resizable(width=False, height=False)
EntryPrimer = Entry(root, font='Arial 17', height=10)
ButNO = Button(root, text=1, width=10, height=5)
EntryPrimer.pack()
ButNO.pack()
#Start
root.mainloop()
Выдаёт ошибку:
Traceback (most recent call last):
File "C:\Users\frtmr\Desktop\Calculator\main.py", line 34, in <module>
EntryPrimer = Entry(root, font='Arial 17', height=10)
File "C:\Users\frtmr\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py", line 3035, in __init__
Widget.__init__(self, master, 'entry', cnf, kw)
File "C:\Users\frtmr\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py", line 2572, in __init__
self.tk.call(
_tkinter.TclError: unknown option "-height"
Как можно это исправить?