Answer the question
In order to leave comments, you need to log in
Why is the error "_tkinter.TclError: unknown option "-height"" coming up?
Why does such an error pop up?
Traceback (most recent call last):
File "C:\Users\ayurov\Desktop\ect.py", line 15, in <module>
startButton = Button(text="Start", width=15, height=3, command=start)
File "C:\Users\ayurov\AppData\Local\Programs\Python\Python36-32\lib\tkinter\ttk.py", line 614, in __init__
Widget.__init__(self, master, "ttk::button", kw)
File "C:\Users\ayurov\AppData\Local\Programs\Python\Python36-32\lib\tkinter\ttk.py", line 559, in __init__
tkinter.Widget.__init__(self, master, widgetname, kw=kw)
File "C:\Users\ayurov\AppData\Local\Programs\Python\Python36-32\lib\tkinter\__init__.py", line 2293, in __init__
(widgetName, self._w) + extra + self._options(cnf))
_tkinter.TclError: unknown option "-height"
[Finished in 0.2s with exit code 1]
[shell_cmd: python -u "C:\Users\ayurov\Desktop\ect.py"]
[dir: C:\Users\ayurov\Desktop]
[path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\DMIX;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\Intel\Services\IPT\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Users\ayurov\AppData\Local\Programs\Python\Python36-32\Scripts\;C:\Users\ayurov\AppData\Local\Programs\Python\Python36-32\;C:\Users\ayurov\Android\platform-tools-latest-windows\platform-tools\;]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question