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.
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.
@frederick.ables
You can try help(websocket) or websocket.__version__.