TypeError: A Future, a coroutine or an awaitable is required
See original GitHub issueWhen running the example on async of python at https://github.com/ccxt-dev/ccxt/wiki/Manual#synchronous-vs-asynchronous-calls , I get this error:
Traceback (most recent call last):
File "ccxt_logger.py", line 11, in <module>
asyncio.get_event_loop().run_until_complete(print_bitfinex_ethbtc_ticker)
File "anaconda3/lib/python3.6/asyncio/base_events.py", line 446, in run_until_complete
future = tasks.ensure_future(future, loop=self)
File "anaconda3/lib/python3.6/asyncio/tasks.py", line 520, in ensure_future
raise TypeError('A Future, a coroutine or an awaitable is required')
TypeError: A Future, a coroutine or an awaitable is required
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
TypeError: An asyncio.Future, a coroutine or an awaitable is ...
I'm trying to make an asynchronous web scraper using beautifulsoup and aiohttp.This is my initial code to start things.I'm getting a [TypeError: ...
Read more >An asyncio.Future, a coroutine or an awaitable is required in ...
display(df). I get the following error: TypeError: An asyncio.Future, a coroutine or an awaitable is required. I launch the script in Spyder, Anaconda....
Read more >nest_asyncio error: TypeError: An asyncio.Future, a coroutine ...
I am getting the a persistent error when loading a class through spyder console. Loading the same class on my windows os does...
Read more >Coroutines and Tasks — Python 3.11.1 documentation
When a Future object is awaited it means that the coroutine will wait until the Future is resolved in some other place. Future...
Read more >An asyncio.Future, a coroutine or an awaitable is required
I'm trying to make an asynchronous web scraper using beautifulsoup and aiohttp.This is my initial code to start things.I'm getting a [TypeError: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks! Please update the wiki.
Yep, there’s a typo there. Updating it now! Thanks for opening this issue!