djacobs / PyAPNs

Python library for interacting with the Apple Push Notification service (APNs)
http://pypi.python.org/pypi/apns/
MIT License
1.22k stars 374 forks source link

ImportError: cannot import name Frame #54

Closed riegie closed 10 years ago

riegie commented 10 years ago

For some reason, I'm unable to import Frame. Have any of you also experienced this issue?

>>> from apns import APNs, Frame, Payload
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name Frame

I looked inside the apns.py file and Frame isn't in there. It's somehow missing. I downloaded the project via easy_install just as the documents directed me to. Should I just manually add in the code?

ghost commented 10 years ago

@riegie

You can use Frame using master branch ex.

pip install git+git://github.com/djacobs/PyAPNs.git
imcaptor commented 10 years ago

Very good.

Sinhyub commented 10 years ago

great. thanks