No module named '_tkinter'

  1. 下载源代码 >> 解压 >> cd tclxxx.tar/tkxxx.tar >> ./configure >> make >> make test >> make install

  2. 下载对应版本的Python源代码,重新编译:./configure >> make >> make test >> make install

猜你喜欢

转载自www.cnblogs.com/toooney/p/10742813.html