|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 xxpy_601 于 2018-6-20 10:56 编辑
在mac的终端里执行的时候回,会有正确的结果,但上面有一堆错误提示,这个咋处理。
好像是说有两个什么版本的东西冲突了,这个咋搞?
代码:
import os
a = '/Users/yxm'
b = g.diropenbox(default=a)
print(b)
错误提示:
objc[1318]: Class FIFinderSyncExtensionHost is implemented in both
/System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa24b1b68)
and
/System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x110fc1cd8).
One of the two will be used. Which one is undefined.
运行结果:
bogon:课后作业及代码文件 yxm$ python3 test.py
objc[1318]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa24b1b68) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x110fc1cd8). One of the two will be used. Which one is undefined.
/Users/yxm/Pictures/壁纸 |
|