How to check websocket-client version in Python?

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @frederick.ables

    The easiest way is running the "pip show <library>" command in your environment which will return the detail of the library including the version.

    $>pip show websocket-client

    Alternatively, you may run "pip list" command which returns all dependencies name and versions.

Answers

  • pip list -o 

    is the command I frequently use to list all the outdated modules in the environment. Requires a more recent version of pip to work.

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @frederick.ables

    You can try help(websocket) or websocket.__version__.

    image