You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
Traceback (most recent call last):
File "E:\xx.py", line 10, in
from binance.websocket.spot.websocket_api import SpotWebsocketAPIClient
File "E:\xxx\venv\Lib\site-packages\binance\websocket\spot\websocket_api_init_.py", line 6, in
class SpotWebsocketAPIClient(BinanceWebsocketClient):
File "E:\xxx\venv\Lib\site-packages\binance\websocket\spot\websocket_api_init_.py", line 39, in SpotWebsocketAPIClient
from binance.websocket.spot.websocket_api._market import ping_connectivity
File "E:\xxx\venv\Lib\site-packages\binance\websocket\spot\websocket_api_market.py", line 1, in
from binance.lib.utils import get_uuid, purge_map
ImportError: cannot import name 'get_uuid' from 'binance.lib.utils' (E:\xxx\venv\Lib\site-packages\binance\lib\utils.py)
futures-connector rewrite utils.py file?
The text was updated successfully, but these errors were encountered:
roc1
changed the title
安装binance-futures-connector后,websocket client不能运行
an'zhuang'zhuangbinance-futures-connector后,SpotWebsocketStreamClient不能运行
Jun 15, 2024
roc1
changed the title
an'zhuang'zhuangbinance-futures-connector后,SpotWebsocketStreamClient不能运行
安装binance-futures-connector后,SpotWebsocketStreamClient不能运行
Jun 15, 2024
roc1
changed the title
安装binance-futures-connector后,SpotWebsocketStreamClient不能运行
After installed binance-futures-connector,SpotWebsocketStreamClient can't run
Jun 15, 2024
roc1
changed the title
After installed binance-futures-connector,SpotWebsocketStreamClient can't run
After installed binance-futures-connector,SpotWebsocketAPIClient can't run
Jun 15, 2024
roc1
changed the title
After installed binance-futures-connector,SpotWebsocketAPIClient can't run
After installed binance-futures-connector,binance-connector-python can not work
Jun 17, 2024
install new binance-connector-python(3.7.0)
2.
install binance-futures-connector(4.0.0)
3.
Run below code:
`from binance.websocket.spot.websocket_api import SpotWebsocketAPIClient
def message_handler(_, message):
logging.info(message)
proxies = { 'http': 'http://1.2.3.4:8080' }
my_client = SpotWebsocketAPIClient(on_message=message_handler, proxies=proxies, timeout=10)
my_client.ticker(symbol="OPUSDT", type="FULL")
time.sleep(5)
logging.info("closing ws connection")
my_client.stop()`
Error:
Traceback (most recent call last):
File "E:\xx.py", line 10, in
from binance.websocket.spot.websocket_api import SpotWebsocketAPIClient
File "E:\xxx\venv\Lib\site-packages\binance\websocket\spot\websocket_api_init_.py", line 6, in
class SpotWebsocketAPIClient(BinanceWebsocketClient):
File "E:\xxx\venv\Lib\site-packages\binance\websocket\spot\websocket_api_init_.py", line 39, in SpotWebsocketAPIClient
from binance.websocket.spot.websocket_api._market import ping_connectivity
File "E:\xxx\venv\Lib\site-packages\binance\websocket\spot\websocket_api_market.py", line 1, in
from binance.lib.utils import get_uuid, purge_map
ImportError: cannot import name 'get_uuid' from 'binance.lib.utils' (E:\xxx\venv\Lib\site-packages\binance\lib\utils.py)
futures-connector rewrite utils.py file?
The text was updated successfully, but these errors were encountered: