【发布时间】:2013-06-24 00:36:24
【问题描述】:
我的 python 代码会产生以下错误:
objc[36554]: Class TKApplication is implemented in both /Library/Frameworks/Tk.framework/Versions/8.5/Tk and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
objc[36554]: Class TKMenu is implemented in both /Library/Frameworks/Tk.framework/Versions/8.5/Tk and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
objc[36554]: Class TKContentView is implemented in both /Library/Frameworks/Tk.framework/Versions/8.5/Tk and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
objc[36554]: Class TKWindow is implemented in both /Library/Frameworks/Tk.framework/Versions/8.5/Tk and /System/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. Which one is undefined.
我的一些 Tk 扩展库正在链接 /System/Library/Frameworks 而不是 /Library/Frameworks 正在编译,我知道 install_name_tool 工具可以将二进制文件重新链接到 正确的框架,但我到底需要在终端中输入什么才能解决这个问题?
【问题讨论】:
标签: python frameworks tkinter install-name-tool