Skip to content

websockets version issue #19

@srs4511351

Description

@srs4511351

With the current version of pyspectrum, websockets version must be >= 15.0.1.
In the current version of DietPi debian bookworm, python3-websockets version is 10.4-1

When I run pyspectrum, it prints this:

Traceback (most recent call last):
  File "/home/dietpi/pyspectrum/./src/pyspectrum.py", line 49, in <module>
    from webUI import WebSocketServer
  File "/home/dietpi/pyspectrum/src/webUI/WebSocketServer.py", line 22, in <module>
    raise ValueError(f"websockets version must be >= 15.0.1, got {websockets.__version__}")
ValueError: websockets version must be >= 15.0.1, got 10.4

What can be done about this? Must we install websockets from source, or can I run an older version of pyspectrum?

----Steve

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions