sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
6.01k stars 2.2k forks source link

AsyncClient, BinanceSocketManager import error #1061

Open djangoengine opened 2 years ago

djangoengine commented 2 years ago

I have been using the python-binance for quite sometime, however I have not used the websocketmanager so far. When I tried to use it I am getting import errors :

  1. ImportError: cannot import name 'BinanceSocketManager' from 'binance'
  2. ImportError: cannot import name 'AsyncClient' from 'binance'

I then tried to update python-binance installation and I am using latest version 0.7.10 despite that I cannot see why I am not able to import BinanceSocketManager and AsyncClient

halfelf commented 2 years ago

0.7.10 is not the latest version. Newer ones are only published in pypi, not here.

FoRavel commented 2 years ago

Did you solve your problem ?