I get an error when trying to import Tensorflow (v.2.2):
In order to make sure that there are no issues with the Tensorflow installation, I re-installed all the relevant packages in a virtual environment. The error stack that results is the following (both in the virtual and in the original environments)
ImportError: Traceback (most recent call last): File "C:\Anaconda\envs\cifar_env\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Anaconda\envs\cifar_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Anaconda\envs\cifar_env\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "c:\anaconda\lib\imp.py", line 243, in load_module return load_dynamic(name, filename, file) File "c:\anaconda\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.
Is it possible to tell What DLL is failing to load exactly?
Edit:
If I downgrade to Tensorflow v2.0 the import doesn't fail, but all scripts need to be re-written
If I downgrade to Tensorflow v2.1, the import still fails.
It would be really helpful if somebody could point at what the issue might be.