我试图通过 python ssl 套接字将推送消息发送到苹果推送通知服务器。但未能在 python 3.3.1 上执行此操作。
Python 3.3.1 (default, Apr 9 2013, 14:40:22)
[GCC 4.4.5] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "./ssl.py", line 60, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: No module named '_ssl'
>>>