Traceback (most recent call last):


 "/usr/lib/python3.9/threading.py", line 1492, in _after_fork

thread._reset_internal_locks(False)


 "/usr/lib/python3.9/threading.py", line 827, in _reset_internal_locks

self._started._at_fork_reinit()


 "/usr/lib/python3.9/threading.py", line 527, in _at_fork_reinit

self._cond._at_fork_reinit()


 "/usr/lib/python3.9/threading.py", line 253, in _at_fork_reinit

self._lock._at_fork_reinit()
AttributeError: 'Semaphore' object has no attribute '_at_fork_reinit'

Traceback (most recent call last):


 "C:\Users\corve\Desktop\esptool\esptool.py", line 3544, in <module>

_main()


 "C:\Users\corve\Desktop\esptool\esptool.py", line 3537, in _main

main()


 "C:\Users\corve\Desktop\esptool\esptool.py", line 3249, in main

operation_func(esp, args)


 "C:\Users\corve\Desktop\esptool\esptool.py", line 2668, in write_flash

if not args.encrypt and not esp.secure_download_mode:
AttributeError: 'ESP8266StubLoader' object has no attribute 'secure_download_mode'
