Import rasa_sdk and Import rasa_sdk.executor could not be resolved


I followed this link to install rasa Rasa install and removed the comment from the action file . I wanted to write some action scripts. I checked whether rasa_sdk is installed within the virtual environment It is installed and I also tried to create a new project it’s showing the same error. Can someone tell me how it can be resolved?

Thank you!

I was able to solve it by changing the virtual environment. Before I was using conda and I changed it to venv