Closed sukhwant280 closed 3 years ago
@sanket-buyhatke @atiprashant @tanmesh - please opine
@sukhwant280, thanks for open the issue, could you pls provide your python version ? this would help us to reproduce the issue on our end.
you can find it by running python -V
,
also could you pls follow the template for reporting issues, so the next person facing similar issues would be able to resolve it quickly.
Python version is 3.8.10 and operating system is win 10.
apologies will follow the template going forward, as a comer in this space.
no issues
can pls check if installation has been successful and ping the response here?
you can find it by pip freeze | findstr 'bitbnspy'
attached screeshot
hi, @sukhwant280, looks like bitbnspy
has been installed successfully, if you do this in the windows cmd
, it should work,
python
from bitbnspy import bitbns
mostly likely reason I can think of is, spyder uses a virtual environment, and hence you are unable to use bitbns module there, I would suggest installing bitbnspy
package in your spyder environment.
if you are using spyder without anaconda
if you are using spyder with anaconda
Thanks Sanket. Solution - install bitbnspy on Conda environment. i did on Pip only.
its working. if any issues with apis, will follow the format and raise new tickets.
thanks for your help. we can close this item
team,
did step 1: Installation sudo -H pip3 install python-socketio[client] pip3 install bitbnspy
Step 2 ran this in spyder - python:
and got error of: "ModuleNotFoundError: No module named 'bitbnspy'"
please help how to resolve this
thanks sukhwant
code used to run on spyder:
from bitbnspy import bitbns key = 'yourKey' secretKey = 'yourSecretKey' bitbnsObj = bitbns(key, secretKey) print(bitbnsObj.getSellOrderBook('XRPUSDT'))