RasaHQ / financial-demo

A demo for a financial services bot
Apache License 2.0
311 stars 398 forks source link

Failed pip install -r requirements.txt, rasa train, rasa shell #177

Open gitgithan opened 2 years ago

gitgithan commented 2 years ago

After pip install -r requirements.txt

ERROR: Cannot install -r requirements.txt (line 6) and rasa[spacy]==3.1.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    rasa-sdk 3.1.0 depends on Sanic-Cors<2.0.0 and >=1.0.0
    rasa[spacy] 3.1.0 depends on sanic-cors<3.0.0 and >=2.0.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

After rasa train, I’m getting Core training was skipped because no valid domain file was found. Only an NLU-model was created. Please specify a valid domain using the '--domain' argument or check if the provided domain file exists.

After rasa shell --debug, and i say hi, gives sklearn.exceptions.NotFittedError: Vocabulary not fitted or provided

If this is really some version error from bumping 2.8.9 to 3.1.0, why does the domain file not found and sklearn's NotFittedError occur?

sara-tagger commented 2 years ago

Thanks for raising this issue, @camattin will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗