Closed queezyy closed 6 years ago
Missing those lines in init.py file
from binance import client from binance import depthcache from binance import enums from binance import exceptions from binance import websockets
Thanks for the response. I added those lines to \Lib\site-packages\binance\_init__.py, but still not working. Also, __init_\.py in the code base on this site is blank. Why wouldn't he include those lines in the base code? Most modules run fine after a pip install, not seeing why an ini file would need updating. It's also not in his instructions.
I am starting to think it is because i had another Python Binance wrapper installed. https://github.com/cnfuyu/python-binance-api
I am going to work to make sure this module is completely removed and then re-install Sams.
Hi @queezyy if you can it may help to use a python environment like virtualenv to install packages into. This keeps things separated, you will run into issues like this if you start to install packages globally.
These links may help, it's much simpler in a Linux env http://timmyreilly.azurewebsites.net/setup-a-virtualenv-for-python-3-on-windows/ http://timmyreilly.azurewebsites.net/python-pip-virtualenv-installation-on-windows/
Same problem here !! It suddently failed
update your pip and install python-binanece again,it will done.
from binance import * api_key = 'you_key' api_secret = 'you_key' client = set(api_key,api_secret)
this work for me
client = set(api_key,api_secret)
this work for me
Does it ?
client = set(api_key, api_secret)
TypeError: set expected at most 1 argument, got 2
For me the issue was fixed when I renamed local binance.py
file to something else .py
In my screenshot below you can see i successfully installed python-binance (via pip), but when i run my script, it is not recognizing your module. I am using "from binance.client import Client"