I am getting the following error when training the initial module of Rasa. For context, I followed the youtube guide for Rasa installation and I’ve used Anaconda to create a python environment. I am also using Python 3.6.6. Any ideas on how to fix this? Thanks in advance.
Error:
Traceback (most recent call last):
File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\tensorflow\python\pywrap_tensorflow.py”, line 64, in from tensorflow.python._pywrap_tensorflow_internal import * ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File “C:\Users\gabri\anaconda3\envs\rasa\lib\runpy.py”, line 193, in run_module_as_main “main”, mod_spec) File “C:\Users\gabri\anaconda3\envs\rasa\lib\runpy.py”, line 85, in run_code exec(code, run_globals) File "C:\Users\gabri\anaconda3\envs\rasa\Scripts\rasa.exe_main.py", line 7, in File "C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\rasa_main.py", line 117, in main cmdline_arguments.func(cmdline_arguments) File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\rasa\cli\scaffold.py”, line 235, in run init_project(args, path) File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\rasa\cli\scaffold.py”, line 130, in init_project print_train_or_instructions(args, path) File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\rasa\cli\scaffold.py”, line 69, in print_train_or_instructions training_result = rasa.train(domain, config, training_files, output) File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\rasa\api.py”, line 106, in train from rasa.model_training import train_async File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\rasa\model_training.py”, line 22, in from rasa.nlu.model import Interpreter File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\rasa\nlu\model.py”, line 14, in from rasa.nlu import components, utils File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\rasa\nlu\components.py”, line 7, in import rasa.utils.train_utils File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\rasa\utils\train_utils.py”, line 39, in from rasa.utils.tensorflow.callback import RasaTrainingLogger, RasaModelCheckpoint File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\rasa\utils\tensorflow\callback.py”, line 5, in import tensorflow as tf File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\tensorflow_init.py", line 41, in from tensorflow.python.tools import module_util as *module_util File "C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\tensorflow\pythoninit*.py”, line 40, in from tensorflow.python.eager import context File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\tensorflow\python\eager\context.py”, line 35, in from tensorflow.python import pywrap_tfe File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\tensorflow\python\pywrap_tfe.py”, line 28, in from tensorflow.python import pywrap_tensorflow File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\tensorflow\python\pywrap_tensorflow.py”, line 83, in raise ImportError(msg) ImportError: Traceback (most recent call last): File “C:\Users\gabri\anaconda3\envs\rasa\lib\site-packages\tensorflow\python\pywrap_tensorflow.py”, line 64, in from tensorflow.python._pywrap_tensorflow_internal import * ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
Failed to load the native TensorFlow runtime.