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

ImportError: cannot import name 'WebSocketConnectionClosedException' from 'websocket' #98

Open
benb0jangles opened this issue May 15, 2021 · 2 comments

Comments

@benb0jangles
Copy link

Help? Or Silence?

Running command:
python3 -m nyansat.host.shell
Give error:

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 "/home/benji2/antenny/nyansat/host/shell/__main__.py", line 6, in <module>
    from websocket import WebSocketConnectionClosedException
ImportError: cannot import name 'WebSocketConnectionClosedException' from 'websocket' (/usr/local/lib/python3.9/dist-packages/websocket/__init__.py)

@abansal567
Copy link

Hey, I think you may have resolved this issue by now and I am kinda stuck at the same thing to install nyansat on ESP32. Can you direct me if you have resolved this already?

@dannyp303
Copy link
Member

Hello, we have made many updates to the station code to make it more usable/reliable/understandable. That being said, the host code is now under construction. On a related note, I highly suggest using the python interpreter as described in the updated README to operate the device as it is still under development and the host shell hides/does not have acces to a lot of information and errors.

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

3 participants