Hi
I’ve cloned Rasa demo Sara bot and ran
pip install -e .
At this point make train-nlu fails because tensorflow is not installed
I have tried pip install tensorflow
Then saw a forum question with a similar problem so ran
pip install -r requirements.txt
Still fails.
Tried the same thing using pip3 (still cannot work out which one I’m supposed to use), still no joy
here is the error, towards the top it states successfully installed tensorflow, then at the end says please install tensorflow.
How do I get this working?
Successfully installed absl-py-0.6.1 astor-0.7.1 backports.weakref-1.0.post1 enum34-1.1.6 funcsigs-1.0.2 futures-3.2.0 gast-0.2.0 grpcio-1.17.1 h5py-2.8.0 keras-applications-1.0.6 keras-preprocessing-1.0.5 markdown-3.0.1 mock-2.0.0 numpy-1.15.4 pbr-5.1.1 protobuf-3.6.1 setuptools-40.6.3 six-1.12.0 tensorboard-1.12.1 tensorflow-1.12.0 termcolor-1.1.0 werkzeug-0.14.1 wheel-0.32.3 (rasa_multi) dave@yoga-ubuntu:~/chatbots/rasa-demo$ make train-nlu python3 -m rasa_nlu.train -c nlu_tensorflow.yml --fixed_model_name current --data data/nlu/ -o models --project nlu --verbose Traceback (most recent call last): File “/usr/lib/python3.6/runpy.py”, line 193, in _run_module_as_main “main”, mod_spec) File “/usr/lib/python3.6/runpy.py”, line 85, in _run_code exec(code, run_globals) File “/home/dave/.local/lib/python3.6/site-packages/rasa_nlu/train.py”, line 184, in num_threads=cmdline_args.num_threads) File “/home/dave/.local/lib/python3.6/site-packages/rasa_nlu/train.py”, line 148, in do_train trainer = Trainer(cfg, component_builder) File “/home/dave/.local/lib/python3.6/site-packages/rasa_nlu/model.py”, line 152, in init components.validate_requirements(cfg.component_names) File “/home/dave/.local/lib/python3.6/site-packages/rasa_nlu/components.py”, line 63, 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 Makefile:19: recipe for target ‘train-nlu’ failed make: *** [train-nlu] Error 1