【问题标题】:Skype4py attach does not workSkype4py 附加不起作用
【发布时间】:2013-02-08 17:47:05
【问题描述】:

我无法将 Skype4Py 附加到我的 Skype 客户端。我下载了 easy_install 并用它来安装 Skype4Py。我有 64 位 Python 和 Windows 7。当我使用 IDLE 逐行尝试示例脚本(见下文)时,我无法通过skype.attach(),似乎什么也没发生。我最终不得不关闭 IDLE 并终止应用程序。如果您有任何想法,请告诉我。我提前道歉。仅仅弄清楚如何下载 Skype4Py 对我来说是一个挑战。 Skype 正在运行,我已登录。

import Skype4Py

# Create an instance of the Skype class.
skype = Skype4Py.Skype()

# Connect the Skype object to the Skype client.
skype.Attach()

# Obtain some information from the client and print it out.
print 'Your full name:', skype.CurrentUser.FullName
print 'Your contacts:'
for user in skype.Friends:
    print '    ', user.FullName

【问题讨论】:

    标签: python windows-7 skype4py


    【解决方案1】:

    目前看起来不支持 64 位 Python,因为 Skype 客户端应用程序是 32 位的。

    https://github.com/awahlig/skype4py/issues/6

    使用 32 位 Python。

    【讨论】:

    • 非常感谢!我完全不知道为什么它不起作用,但 32 位也对我有用。
    • 3 年后。您是否检查过它是否在 Windows 10 中工作?
    猜你喜欢
    • 2012-10-13
    • 1970-01-01
    • 1970-01-01
    • 2015-02-17
    • 2016-02-26
    • 1970-01-01
    • 2014-02-06
    • 2013-09-29
    • 2017-02-25
    相关资源
    最近更新 更多