Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/spyder/widgets/helperwidgets.py", line 127, in paint

textRect = style.subElementRect(QStyle.SE_ItemViewItemText, options)
TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments

Traceback (most recent call last):


 "c:\users\xxx\anaconda3\lib\runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "c:\users\xxx\anaconda3\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "C:\Users\xxx\Anaconda3\Scripts\labelme_json_to_dataset.exe\__main__.py", line 9, in <module>


 "c:\users\xxx\anaconda3\lib\site-packages\labelme\cli\json_to_dataset.py", line 59, in main

label=lbl, img=img, label_names=label_names, loc='rb'


 "c:\users\xxxanaconda3\lib\site-packages\imgviz\label.py", line 113, in label2rgb

legend, aabb1, aabb2, fill=(255, 255, 255))


 "c:\users\xxx\anaconda3\lib\site-packages\imgviz\draw.py", line 181, in rectangle

xy=(x1, y1, x2, y2), fill=fill, outline=outline, width=width
TypeError: rectangle() got an unexpected keyword argument 'width'