python-bittrex-websocket-aio
python-bittrex-websocket-aio copied to clipboard
Trying basic examples I get an error
trafficstars
Im running the example presented in this link: https://python-bittrex-websocket-docs.readthedocs.io/en/latest/howto.html (using steps 1 and 2) and I get the following error:
RuntimeWarning: coroutine 'MySocket.on_public' was never awaited
f(*a, **kw)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
I met the same error when I run this in a docker. although it run well in ubuntu or Anaconda Spyder. some other scripts (like the sample in Quickstart), run well in docker. but can't run in ubuntu. the docker and ubuntu has same version and python are all 3.6.8 by the way.
solution to the problem: pip uninstall bittrex-websocket pip uninstall bittrex-websocket-aio pip install bittrex-websocket-aio