Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name APNs #180

Open
yiwangwuqian opened this issue Oct 18, 2016 · 2 comments
Open

ImportError: cannot import name APNs #180

yiwangwuqian opened this issue Oct 18, 2016 · 2 comments

Comments

@yiwangwuqian
Copy link

by the usage:from apns import APNs
ImportError: cannot import name APNs

@kyluke
Copy link

kyluke commented Nov 21, 2016

same problem here

@tgwizard
Copy link

tgwizard commented Nov 21, 2016

Is the file that does the imports called apns.py too? Then add

from __future__ import absolute_import

At the top of you file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants