question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error : Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install sklearn

See original GitHub issue

Rasa NLU version: 0.14.3

Operating system (windows, osx, …): Windows 10

Content of model configuration file:

language: en
pipeline: tensorflow_embedding

Issue:File “d:\prasanna\files\projects\github\nlu-chatbot\rasa_nlu\rasa_nlu\train.py”, line 133, in do_train trainer = Trainer(cfg, component_builder) File “d:\prasanna\files\projects\github\nlu-chatbot\rasa_nlu\rasa_nlu\model.py”, line 141, in init components.validate_requirements(cfg.component_names) File “d:\prasanna\files\projects\github\nlu-chatbot\rasa_nlu\rasa_nlu\components.py”, line 47, in validate_requirements “Please install {}”.format(", ".join(failed_imports))) Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install tensorflow

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
akeladcommented, Feb 13, 2019

pip install rasa_nlu[tensorflow] should solve your problem, please take a look at our docs.

0reactions
913165commented, May 5, 2019

I tried pip install rasa_nlu[tensorflow] should solve your problem but the same error

C:\rasax\sara>nlu_model.py Traceback (most recent call last): File “C:\rasax\sara\nlu_model.py”, line 18, in <module> train_nlu(‘./data/data_rest2.json’, ‘config.yml’, ‘./models/nlu’) File “C:\rasax\sara\nlu_model.py”, line 8, in train_nlu trainer = Trainer(config.load(configs)) File “C:\Users\Pritesh\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_nlu\model.py”, line 147, in init components.validate_requirements(cfg.component_names) File “C:\Users\Pritesh\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_nlu\components.py”, line 46, in validate_requirements “Please install {}”.format(", ".join(failed_imports))) Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install tensorflow

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not all required packages are installed. To use this pipeline ...
Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install sklearn # ...
Read more >
Rasa train_init.py gives sklearn_crfsuite pacakge error
i am implementing RASA weatherbot from this link i am getting error when trying to run RASA train_init. I am getting below error....
Read more >
Installing scikit-learn
There are different ways to install scikit-learn: Install the latest official release. This is the best approach for most users. It will provide...
Read more >
Not all required packages are installed. To use this pipeline ...
Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install sklearn.
Read more >
Notebook-scoped Python libraries | Databricks on AWS
Install notebook-scoped libraries with %pip · You should place all %pip commands at the beginning of the notebook. · Upgrading, modifying, or uninstalling...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found