ImportError: cannot import name 'CLOSED' from 'websockets.connection'
Asked Answered
R

1

6

I installed rasa on a virtual environment on windows. But while I am trying to check either rasa is installed or not, it is showing an error that says-

ImportError: cannot import name 'CLOSED' from 'websockets.connection'

I have reinstalled rasa, and installed websockets. But still getting the error.

Python version is 3.10.2

Can anyone help me to solve this problem?

Reproachful answered 2/4, 2023 at 16:52 Comment(1)
Currently, it's best to install Rasa with Python ver. 3.8 or 3.9.Pyongyang
D
20

Try installing websockets version 10.0 like this: pip install websockets==10.0 It should help (it helped me)

Delinquency answered 2/4, 2023 at 18:16 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.