@nik202 Ah it worked!
I typed the following in my anaconda environment as you suggested:
python -m pip install --upgrade sanic==21.9.3
And now when I type rasa --version
I no longer get the error I had earlier and indeed get the version:
Rasa Version : 3.0.5
Minimum Compatible Version: 3.0.0
Rasa SDK Version : 3.0.4
Rasa X Version : None
Python Version : 3.8.12
Thanks a lot!