Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'binance.websockets' #54

Closed
RSolterman88 opened this issue May 2, 2021 · 7 comments
Closed

No module named 'binance.websockets' #54

RSolterman88 opened this issue May 2, 2021 · 7 comments

Comments

@RSolterman88
Copy link

Hi, first of all thank you very much for your work!
I have tried to set up the bot, I installed everything and modified the settings in the console but I get this error when I try to run the bot:

root@vultr:~/Binance-News-Sentiment-Bot# python3 -m news-analysis
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/root/Binance-News-Sentiment-Bot/news-analysis.py", line 34, in
from binance.websockets import BinanceSocketManager
ModuleNotFoundError: No module named 'binance.websockets'

sWhat do you suggest I do? Thanks in advance

@danyeah
Copy link

danyeah commented May 3, 2021

I'm having the same issue.

@jmcl09
Copy link

jmcl09 commented May 4, 2021

Same here, the same issue , and 5 days ago it worked, but now ModuleNotFound

@hahnstep
Copy link

hahnstep commented May 4, 2021

conda list | grep binance
packages in environment at /home/stepain/miniconda3/envs/binancebot:
python-binance 0.7.10 pypi_0 pypi

python news-analysis.py
Press Ctrl-Q to stop the script
Bitcoin Price Weekly Update: 3rd May – 9th May 2021
WallStreetBets launches blockchain-powered app to decentralize indices
Visa Sees Bitcoin as Digital Gold | This Week in Crypto – May 3, 2021
.......

pip install python-binance --upgrade

conda list | grep binance
packages in environment at /home/stepain/miniconda3/envs/binancebot:
python-binance 1.0.4 pypi_0 pypi

python news-analysis.py
Traceback (most recent call last):
File "news-analysis.py", line 36, in
from binance.websockets import BinanceSocketManager
ModuleNotFoundError: No module named 'binance.websockets'

i hope it helps.

@KrSuma
Copy link

KrSuma commented May 6, 2021

sammchardy/python-binance#170
seems like its inoperational

@CyberPunkMetalHead
Copy link
Owner

Looks like the Binance Websockets were down. I'll check on my side to see if the issue is resolved and will post and update.

@satanasov
Copy link

satanasov commented May 9, 2021

Hello there,

Is it possible this is related to python-binance package upgrade over 1.0.0+

I'm referring to this in their description:

https://github.com/sammchardy/python-binance#upgrading-to-v100

EDIT: Installing python-binance 0.7.1 allowed me to run the script.

@CyberPunkMetalHead
Copy link
Owner

Yes, I'm currently running 0.7.1 and that's why I haven't been able to replicate the issue. 0.7.1 needs to be installed on your machine in order for this script to work. I will upgrade to 1.0.0 once that version is more stable :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants