|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
objc[1935]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa8af0c90) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x114348cd8). One of the two will be used. Which one is undefined.
大概意思是类 FIFinderSyncExtensionHost 在两个路径有冲突的意思吗?一运行代码就会有这个报错,以下是运行的代码
#coding=utf-8
import easygui as g
import os
file_path = g.fileopenbox(default="*.jpg") #运行到这个位置好像都是正常的,选择OPEN就会卡住在图形界面
with open(file_path) as f:
title = os.path.basename(file_path)
msg = ("文件【%s】的内容如下:" % title)
text = f.read()
g.textbox(msg, title, text)
请大神帮忙分析下要怎么处理才行,用的是苹果系统,小弟在此谢过了!第一次发求助帖,有什么不对的还请指教
你是不是安装了两个easygui,一个新一个旧?删除一个就行。
假如不是的话我也没办法了……
|
|