-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
python-binance Websocket imcompatability with Python 3.10. Also not working with Python version greater than Python 3.7. #1335
Comments
Did you manage to find a solution yet? Im running into the same issue |
I didn't find any solution yet. I planned to switch to an another library called binance-connector which is currently supporting Python 3.10 and also it's an official Binance library. |
Another user opened issue #1354 that seems related. |
@bairavand Do you also have an instance of ThreadedDepthCacheManager in your application? |
With the simple script like below I get the same error, but not the
|
Describe the bug
I was using python-binance with Python 3.7 and it was working fine. I upgraded Python version to 3.10 and I unable to get websocket response. I also tried with Python 3.8 that is also not working. Is there any way to handle it?
To Reproduce
Code snippet to reproduce the behavior:
Expected behavior
Inside the while loop the trade response should come whenever a trade happens on Binance. but after upgraded to Python 3.10 the response is not triggered and I didn't receive any error.
Environment:
Logs or Additional context
I didn't receive the websocket response. Other than that, there is no specific error
The text was updated successfully, but these errors were encountered: