I soved that for version 1.0.28 by:
from binance.async_client import AsyncClient from binance.ws.streams import BinanceSocketManager