猿问

Python Tk框架

我有生成以下错误的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工具可以将二进制文件重新链接到正确的框架,但是我到底需要什么输入终端以解决此问题?


慕沐林林
浏览 221回答 2
2回答
随时随地看视频慕课网APP

相关分类

Python
我要回答