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

Does it work on OSX? #43

Open
littlepea opened this issue Apr 16, 2018 · 1 comment
Open

Does it work on OSX? #43

littlepea opened this issue Apr 16, 2018 · 1 comment

Comments

@littlepea
Copy link

The readme says:

pip install uvloop (Only linux)

Does it mean that gain can't be used on a Mac?

@wagaman
Copy link

wagaman commented Jun 2, 2018

try:
import uvloop

asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())

except ImportError:
pass

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

2 participants