Please install the package(s) that contain the module(s): spacy

I checked out the financial-demo bot (master branch) following these steps:

  1. python3 -m venv --system-site-packages ./venv
  2. source ./venv/bin/activate
    
  3. pip3 install rasa==1.9.3
    
  4. git clone https://github.com/RasaHQ/financial-demo
    
  5. cd financial-demo
    
  6. pip install -r requirements.txt
    
  7. python3 -m spacy download en_core_web_md
    
  8. python3
    
  9. import spacy
    
  10. nlp=spacy.load("en_core_web_md")
    
  11. exit()
    
  12. rasa train
    

But I am getting this error.

Exception: Not all required importable packages are installed. To use this pipeline, you need to install the missing dependencies. Please install the package(s) that contain the module(s): spacy

Does somebody know how to fix it?

Not sure if this is causing error @jbrix, I couldn’t see spacy link step in the details you have mentioned. Can you do it

python -m spacy link en_core_web_md en
2 Likes

That was the missing step! Thank you