binance / binance-connector-python

Simple connector to Binance Public API
MIT License
1.92k stars 496 forks source link

ModuleNotFoundError: No module named 'binance' #304

Closed myweb3world closed 5 months ago

myweb3world commented 6 months ago

I use the binance-connector-python in linux, but when I excute the 'python3 balance.py ', it occurs the error. 微信截图_20240319181636 when I install the package: pip install binance-connector, it occurs an error 'Unable to locate package binance-connector' or 'Unable to locate package binance-connector-python' or 'Unable to locate package binance'

thisismygitrepo commented 5 months ago

You're most probably installing in one environment and running in another

aisling-2 commented 5 months ago

This is not a binance-connector-python lib issue, but a frequent local python environment misconfiguration that can only be solved by the user. However, some suggestions:

(Closing this issue as it's coming from the connector)