我有一段生成以下错误的Python代码:
一些Tk扩展库在编译时链接到/System/Library/Frameworks而不是/Library/Frameworks。我知道install_name_tool工具可以将二进制文件重新链接到正确的框架,但我需要在终端中输入什么来解决这个问题?
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工具可以将二进制文件重新链接到正确的框架,但我需要在终端中输入什么来解决这个问题?