Traceback (most recent call last):


 "C:\Users\masma\AppData\Local\Programs\Python\Python37\lib\tkinter\__init__.py", line 3507, in __del__

self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop

Error: Traceback (most recent call last):

 "/usr/local/bin/flake8", line 11, in sys.exit(main())

 "/usr/local/lib/python3.5/dist-packages/flake8/main.py", line 33, in main report = flake8_style.check_files()

 "/usr/local/lib/python3.5/dist-packages/pep8.py", line 1672, in check_files runner(path)

 "/usr/local/lib/python3.5/dist-packages/flake8/engine.py", line 95, in input_file return fchecker.check_all(expected=expected, line_offset=line_offset)

 "/usr/local/lib/python3.5/dist-packages/pep8.py", line 1456, in check_all self.check_logical()

 "/usr/local/lib/python3.5/dist-packages/pep8.py", line 1328, in check_logical (start_row, start_col) = mapping[0][1]TypeError: 'NoneType' object is not subscriptable