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

event loop is already running #7

Open
wjg59701 opened this issue Dec 8, 2019 · 1 comment
Open

event loop is already running #7

wjg59701 opened this issue Dec 8, 2019 · 1 comment

Comments

@wjg59701
Copy link

wjg59701 commented Dec 8, 2019

Can anyone tell me why I always get the error "event loop is already running" when I try to run the trade_updates channel?

the error is thrown from the asyncio

@ghost
Copy link

ghost commented Feb 20, 2020

There's an error with asyncio. Need to install a patch. This worked for me:
https://markhneedham.com/blog/2019/05/10/jupyter-runtimeerror-this-event-loop-is-already-running/

This is well documented:
https://github.com/erdewit/nest_asyncio

pip install nest_asyncio
import nest_asyncio
nest_asyncio.apply()

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

1 participant