ImportError: DLL Load Failed While Importing _pywrap_tensorflow_internal on Windows 2019 Server

Hi Rasa Community,

I am facing an issue while running Rasa on a Windows 2019 Datacenter Server. I moved my virtual environment from my local machine to this server. I can successfully initialize a new chatbot project using rasa init, but when I try to train or run the model, I get the following error:

ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.

Tested with both Rasa 2.8.3 and Rasa 3.x, but the same issue persists.

  • OS: Windows Server 2019 Datacenter
  • Python Version: (mention the exact version, e.g., 3.8.10)
  • Rasa Version: (e.g., 2.8.3 and 3.x.x both tested)
  • TensorFlow Version: (e.g., 2.3.4) *.Machine Type: CPU

Question:

  • Has anyone faced this issue when moving a virtual environment to another machine?

Any help or insights would be greatly appreciated! :blush: