Dose the websocket lib on PyPI updated?

I wrote a streaming speech recognization program using websocket a year ago, and it worked very well.
It suddenly raise an AttributeError:

module 'websocket' has no attribute 'create_connection'

I reinstall it and read the source code, i found the source was changed, all the functions I’m using are gone.
If anyone knows what’s going on please let me know. Thanks a lot.

Are you perhaps confusing websocket and websockets?

1 Like

Sorry for the delay.
I found out there is an naming conflict in websocket and websocket-client.(I use them both.) The websocket/ file will be overwritten in a specific installation sequence, but i could not reproduce the bug after i reinstall these two libs.
Thank you for your reply. :smile: