Import Error json from engine


I am doing the Rasa Workshop on udemy. I am stuck on this error which occurs when I try to train the rasa model. So, I write rasa train, and then I get the error message below:

ImportError: cannot import name ‘json’ from ‘engineio’

How do I fix this? Thank you.

I fixed it.

pip3 install “python-socketio<4.3” “python-engineio<3.9”

1 Like