question

Upvotes
Accepted
1 1 1 1

How to check websocket-client version in Python?

eikoneikon-data-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apiwebsockets
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
27.8k 67 18 14

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
24.8k 64 15 21
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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
87.1k 294 53 79

@frederick.ables

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


1616388783602.png (9.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.