# ImportError: DLL load failed with error code 3221225501

**URL:** <https://forum.rasa.com/t/importerror-dll-load-failed-with-error-code-3221225501/27949>\
**Category:** Rasa Open Source\
**Created:** [April 23, 2020, 6:13pm UTC](https://forum.rasa.com/t/importerror-dll-load-failed-with-error-code-3221225501/27949 "2020-04-23T18:13:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gitBitHubNet](https://avatars.discourse-cdn.com/v4/letter/g/779978/32.png) [@gitBitHubNet](https://forum.rasa.com/u/gitBitHubNet)\
**Post date:** [April 23, 2020, 6:13pm UTC](https://forum.rasa.com/t/importerror-dll-load-failed-with-error-code-3221225501/27949/1 "2020-04-23T18:13:01Z")

</div>

I installed Rasa and I get the error “ImportError: DLL load failed with error code 3221225501” when I issue the command: “rasa init”. I think it has to do with the fact that my CPU is old and does not support AVX instructions (neede with Tensorflow \>=1.16). Also my GPU is old and does not support CUDA. Does anyone know what this problem might be about? Is there a way to run Rasa with lower version of Tensorflow (i.e. 1.15)? I installed Tensorflow 1.15 but no luck. I could not find in the Rasa manuals the minimum specs regarding Tensorflow.

My installation currently has Python 3.7.7, PIP 19.2.3 and I am running on Windows 7 SP1

The complete error log is:

(venv) C:\venv\>rasa init Traceback (most recent call last): File “c:\venv\lib\site-packages\tensorflow\_core\python\pywrap\_tensorflow.py”, line 58, in from tensorflow.python.pywrap\_tensorflow\_internal import \* File “c:\venv\lib\site-packages\tensorflow\_core\python\pywrap\_tensorflow\_inter nal.py”, line 28, in \_pywrap\_tensorflow\_internal = swig\_import\_helper() File “c:\venv\lib\site-packages\tensorflow\_core\python\pywrap\_tensorflow\_inter nal.py”, line 24, in swig\_import\_helper \_mod = imp.load\_module(’\_pywrap\_tensorflow\_internal’, fp, pathname, descript ion) File “C:\Users\netronio\AppData\Local\Programs\Python\Python37\lib\imp.py”, li ne 242, in load\_module return load\_dynamic(name, filename, file) File “C:\Users\netronio\AppData\Local\Programs\Python\Python37\lib\imp.py”, li ne 342, in load\_dynamic return \_load(spec) ImportError: DLL load failed with error code 3221225501

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “C:\Users\netronio\AppData\Local\Programs\Python\Python37\lib\runpy.py”, line 193, in _run\_module\_as\_main “ **main** ”, mod\_spec) File “C:\Users\netronio\AppData\Local\Programs\Python\Python37\lib\runpy.py”, line 85, in run\_code exec(code, run\_globals) File "C:\venv\Scripts\rasa.exe\_main.py", line 9, in File "c:\venv\lib\site-packages\rasa\_main_.py", line 82, in main set\_log\_level(log\_level) File “c:\venv\lib\site-packages\rasa\utils\common.py”, line 71, in set\_log\_lev el update\_tensorflow\_log\_level() File “c:\venv\lib\site-packages\rasa\utils\common.py”, line 112, in update\_ten sorflow\_log\_level import tensorflow as tf File “c:\venv\lib\site-packages\tensorflow\ __init_\_.py”, line 99, in from tensorflow\_core import \* File “c:\venv\lib\site-packages\tensorflow\_core\__ init_\_.py”, line 28, in from tensorflow.python import pywrap\_tensorflow # pylint: disable=unused-im port File “c:\venv\lib\site-packages\tensorflow\__init_\_.py”, line 50, in \_\_getattr \_\_ module = self._load() File "c:\venv\lib\site-packages\tensorflow\_init_.py", line 44, in \_load module = _importlib.import\_module(self. **name** ) File "C:\Users\netronio\AppData\Local\Programs\Python\Python37\lib\importlib\_ init_.py", line 127, in import\_module return \_bootstrap._gcd\_import(name[level:], package, level) File "c:\venv\lib\site-packages\tensorflow\_core\python\_init_.py", line 49, in from tensorflow.python import pywrap\_tensorflow File “c:\venv\lib\site-packages\tensorflow\_core\python\pywrap\_tensorflow.py”, line 74, in raise ImportError(msg) ImportError: Traceback (most recent call last): File “c:\venv\lib\site-packages\tensorflow\_core\python\pywrap\_tensorflow.py”, line 58, in from tensorflow.python.pywrap\_tensorflow\_internal import \* File “c:\venv\lib\site-packages\tensorflow\_core\python\pywrap\_tensorflow\_inter nal.py”, line 28, in \_pywrap\_tensorflow\_internal = swig\_import\_helper() File “c:\venv\lib\site-packages\tensorflow\_core\python\pywrap\_tensorflow\_inter nal.py”, line 24, in swig\_import\_helper \_mod = imp.load\_module(’\_pywrap\_tensorflow\_internal’, fp, pathname, descript ion) File “C:\Users\netronio\AppData\Local\Programs\Python\Python37\lib\imp.py”, li ne 242, in load\_module return load\_dynamic(name, filename, file) File “C:\Users\netronio\AppData\Local\Programs\Python\Python37\lib\imp.py”, li ne 342, in load\_dynamic return \_load(spec) ImportError: DLL load failed with error code 3221225501

Failed to load the native TensorFlow runtime.

See [Build and install error messages &nbsp;|&nbsp; TensorFlow](https://www.tensorflow.org/install/errors)

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

(venv) C:\venv\>

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [April 27, 2020, 5:38am UTC](https://forum.rasa.com/t/importerror-dll-load-failed-with-error-code-3221225501/27949/2 "2020-04-27T05:38:31Z")

</div>

hi @gitBitHubNet - welcome to the forum!

This definitely looks like a tensorflow installation issue. The AVX instructions are usually just a warning you can ignore.

I’m not an expert on Windows but if you look on youtube there are a bunch of tutorial videos about installing Rasa on windows machines. Maybe one of those can help?

---

<div class="post-metadata">

**Author:** ![analyticalgagan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/analyticalgagan/32/10640_2.png) [@analyticalgagan](https://forum.rasa.com/u/analyticalgagan)\
**Post date:** [November 6, 2020, 11:05am UTC](https://forum.rasa.com/t/importerror-dll-load-failed-with-error-code-3221225501/27949/3 "2020-11-06T11:05:13Z")

</div>

@gitBitHubNet - Were u able to solve the issue? am also facing the same issue.
