Exception in thread Thread-1:
Traceback (most recent call last):
File "D:\Python\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "D:\Python\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "F:/Python projects/测试.py", line 36, in start
m = DumpMaster(opts, with_termlog=False, with_dumper=False)
File "D:\Python\lib\site-packages\mitmproxy\tools\dump.py", line 24, in __init__
super().__init__(options)
File "D:\Python\lib\site-packages\mitmproxy\master.py", line 48, in __init__
asyncio.get_event_loop(),
File "D:\Python\lib\asyncio\events.py", line 639, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'Thread-1'.
Process finished with exit code 0 在线程中启动会报错 RuntimeError: There is no current event loop in thread 'Thread-1'. 请问有啥办法解决呢?