Python3 多线程问题:ModuleNotFoundError: No module named 'thread',原因及解决办法。
python3 导入thread报错,把thread改为_thread就好了。
报错信息:
Traceback (most recent call last):
File "test.py", line 1, in <module>
import thread
ModuleNotFoundError: No module named 'thread'
Traceback (most recent call last):
File "test.py", line 1, in <module>
import thread
ModuleNotFoundError: No module named 'thread'
import _thread

浙公网安备 33010602011771号