Tkinter没有工作mac osx el capitan

时间:2015-10-27 13:17:54

标签: python python-2.7 tkinter python-2.x osx-elcapitan

我试图在MAC OSX el capitan版本10.11中使用Python2.7导入模块Tkinter,但是我有以下错误:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
       import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter

我想获得这个问题的解决方案,因为似乎是一个安装问题,网页ActiveTCL似乎被打破了

0 个答案:

没有答案
相关问题