I installed rasa x, and I'm facing this error since a long time

Whenever I do rasa init I’m getting this error, and this has been happening since a long time. I’ve installed and uninstalled rasa x several time and still this is happening. Please help

Traceback (most recent call last): File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py”, line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py”, line 28, in _pywrap_tensorflow_internal = swig_import_helper() File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py”, line 24, in swig_import_helper _mod = imp.load_module(‘_pywrap_tensorflow_internal’, fp, pathname, description) File “c:\users\91973\anaconda3\envs\rasax\lib\imp.py”, line 243, in load_module return load_dynamic(name, filename, file) File “c:\users\91973\anaconda3\envs\rasax\lib\imp.py”, line 343, in load_dynamic return _load(spec) ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “c:\users\91973\anaconda3\envs\rasax\lib\runpy.py”, line 193, in run_module_as_main “main”, mod_spec) File “c:\users\91973\anaconda3\envs\rasax\lib\runpy.py”, line 85, in run_code exec(code, run_globals) File "C:\Users\91973\Anaconda3\envs\rasax\Scripts\rasa.exe_main.py", line 7, in File "c:\users\91973\anaconda3\envs\rasax\lib\site-packages\rasa_main.py", line 82, in main set_log_level(log_level) File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\rasa\utils\common.py”, line 71, in set_log_level update_tensorflow_log_level() File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\rasa\utils\common.py”, line 112, in update_tensorflow_log_level import tensorflow as tf File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_init_.py”, line 101, in from tensorflow_core import * File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_core_init_.py”, line 40, in from tensorflow.python.tools import module_util as module_util File "c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_init.py", line 50, in getattr module = self.load() File "c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_init.py", line 44, in _load module = importlib.import_module(self.name) File "c:\users\91973\anaconda3\envs\rasax\lib\importlib_init.py", line 126, in import_module return _bootstrap.gcd_import(name[level:], package, level) File "c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_core\python_init.py", line 49, in from tensorflow.python import pywrap_tensorflow File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py”, line 74, in raise ImportError(msg) ImportError: Traceback (most recent call last): File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py”, line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py”, line 28, in _pywrap_tensorflow_internal = swig_import_helper() File “c:\users\91973\anaconda3\envs\rasax\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py”, line 24, in swig_import_helper _mod = imp.load_module(‘_pywrap_tensorflow_internal’, fp, pathname, description) File “c:\users\91973\anaconda3\envs\rasax\lib\imp.py”, line 243, in load_module return load_dynamic(name, filename, file) File “c:\users\91973\anaconda3\envs\rasax\lib\imp.py”, line 343, in load_dynamic return _load(spec) ImportError: DLL load failed: The specified module could not be found.

Failed to load the native TensorFlow runtime.

See エラーメッセージの作成とインストール  |  TensorFlow

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.

Hiya @Aman10, what’s your OS setup and which version of rasa x did you try to install? How did you install it?

1 Like

@erohmensing I got it worked out, Rasa X need Visual Studio

After installing Visual Srudio, Rasa X worked perfectly fine