-
Notifications
You must be signed in to change notification settings - Fork 24
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
ModuleNotFoundError: No module named 'websockets.handshake' #20
Comments
Seems like this project doesnt support python 3.6. Ive tested it in 3.8 and had the same error. Retested it in 3.5 and it worked |
I'm on 3.5 and instead of the websockets.handshake error I get this:
Any ideas? |
The error was caused by F-string being invalid syntax. Seems like one of the dependencies is probably too high a version. Make sure you're using virtual environments. Something like this https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/ for anaconda |
same here on python 3.8 macOS |
you have to change the sourcecode to import websockets.legacy.handshake |
this is happening on fedora 33 as well with Python 3.9.9 |
File "/usr/local/lib/python3.6/dist-packages/wsstat/clients.py", line 14, in there are many things to update beyond that |
Traceback (most recent call last):
File "/usr/local/bin/wsstat", line 7, in
from wsstat.main import wsstat_console
File "/usr/local/lib/python3.6/dist-packages/wsstat/main.py", line 5, in
from wsstat.clients import WebsocketTestingClient
File "/usr/local/lib/python3.6/dist-packages/wsstat/clients.py", line 14, in
import websockets.handshake
The text was updated successfully, but these errors were encountered: