undefinedfix
Sign in

Using websocket client library in Python 3 to report an error has no attribute 'enabletrace'

daponginh edited in Fri, 02 Dec 2022

PIP3 list results

python3

websocket.enableTrace (true) error

2 Replies
cashsavings
commented on Fri, 02 Dec 2022

It looks like you have two different libraries. One is

Websocket client: pypi homepage GitHub Homepage

The other is websocket

Pypi home page

It is estimated that the two imports have the same name,

You should just unload the second one.

Try PIP3 universal websocket

TheMonarch
commented on Fri, 02 Dec 2022

There are conflicts between the two libraries at the top and the bottom. You can try PIP3 universal wedsocket