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

error when running main.py #2

Closed
nakumiayumu144 opened this issue Mar 30, 2023 · 4 comments
Closed

error when running main.py #2

nakumiayumu144 opened this issue Mar 30, 2023 · 4 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@nakumiayumu144
Copy link

image

@HRNPH
Copy link
Owner

HRNPH commented Mar 30, 2023

will fix this today Lemme check

@HRNPH
Copy link
Owner

HRNPH commented Mar 30, 2023

according to this
https://techoverflow.net/2021/02/06/how-to-fix-python-websocket-typeerror-__init__-missing-3-required-positional-arguments-environ-socket-and-rfile/
I think it's either your dependencies is wrong or my requirements are broken

since running this locally in my computer work flawlessly please try this and notice me if it's working or not:

pip uninstall websocket
pip install websocket-client

also, note that you should run this in a virtual environment
AKA.

python -m venv venv
./venv/script/activate
# activated virtual python environment
# uninstall web socket and install WebSocket client instead
pip uninstall websocket
pip install websocket-client
# install other dependencies
pip install -r ./requirements.txt

@nakumiayumu144
Copy link
Author

thanks its worked

@HRNPH
Copy link
Owner

HRNPH commented Mar 30, 2023

I'll added this into the readme Thx for report!

@HRNPH HRNPH added bug Something isn't working good first issue Good for newcomers labels Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants