python3中,由于thread有两个很致命的问题,所以python3更推荐用threading代替thread,所以,thread被改名为_thread import _thread 可以看到并没有报错