Skype4py 附加失败

2 投票
1 回答
1260 浏览
提问于 2025-04-17 15:16

我在使用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

1 个回答

4

现在看起来64位的Python不被支持,因为Skype这个客户端应用程序是32位的。

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

请使用32位的Python。

撰写回答