For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
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.
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.
You can try help(websocket) or websocket.__version__.