以下是我在macOS 10.13系统上使用Python3中的import keyring
时看到的:
# python3 library/repos/turf
Python 3.5.5 (default, Mar 29 2018, 16:22:58)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import keyring
dbus[2365]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
dbus[2365]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
我的keyring包副本是使用pip
安装的:
keyring的文档提到在Linux上需要dbus,但似乎没有提到macOS的类似需求,只是简单地导入keyring会导致上面显示的关于“dbus”的消息。在
我应该做些什么来避免这个警告信息吗?在
目前没有回答
相关问题 更多 >
编程相关推荐