Python3 多线程问题:ModuleNotFoundError:No module named 'thread'
python3 导入thread报错,把thread改为_thread就好了。
报错信息:
Traceback (most recent call last):
File "Proxy.py", line 1, in <module>
import thread
ModuleNotFoundError: No module named 'thread'
应该这样写:
import _thread