Sorry for your struggle, but this is also learning.
- The above issue is related to your environment and its path so, create the fresh one from starting.
Create project folder
create the fresh python virtual environment with python 3.7 or 3.8
conda create -name “Your_Environment_Name” python=3.8 or python==3.7
conda activate Your_Environment_Name
Install pip version to 20.0.2 or go by latest
pip install pip==20.0.2
Install rasa
pip install rasa-sdk==2.8.1
pip install rasa==2.8.0
check rasa version
rasa --version
rasa init. # follow the steps as show in the instructions.
OR
If you have own project copy to the project folder and then run below commands
rasa train
rasa shell --debug
I would encourage install the latest version of Rasa If you have started learning Rasa.
For running the code in VS code:
- Open the workspace i.e your project folder
- Type Ctrl+Shift+P Python interpreter will be open
- Select your Python environment or you can manual do this will activating environment for both teriminal conda activate
<env name>for rasa and rasa action server. - In terminal you will see your environment run rasa shell --debug if you not train train the model first whilst using rasa train
PS: Change the topic categories to Rasa Open Source
I hope it will solve your issue. Good Luck!