Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 25, 2018. It is now read-only.

Conversation

@hhatto
Copy link

@hhatto hhatto commented Jun 24, 2018

error occured with following code:

Traceback (most recent call last):
  File "usetokioloop.py", line 1, in <module>
    import tokio
  File "/path/to/tokio/__init__.py", line 14, in <module>
    class Loop(_tokio.TokioEventLoop, AbstractEventLoop):
TypeError: type 'tokio._tokio.TokioEventLoop' is not an acceptable base type

usetokioloop.py

import tokio

tokio.EventLoopPolicy()

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant