Tensorflow 2 installation succeeded import tensorflow as TF failed

Time:2020-6-29

tensorflow (tensorflow-2.2.0rc2-cp37-cp37m-win_ AMD64. Who) installed successfully,import tensorflow as ifThe error is as follows

Traceback (most recent call last):
File “C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py”, line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File “C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py”, line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File “C:\ProgramData\Anaconda3\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:\ProgramData\Anaconda3\lib\imp.py”, line 243, in load_module
return load_dynamic(name, filename, file)
File “C:\ProgramData\Anaconda3\lib\imp.py”, line 343, in load_dynamic
return _load(spec)
Importerror: DLL load failed: the specified module was not found.

See the official website for solutions: https://tensorflow.google.cn/install/pip

Tensorflow 2 installation succeeded import tensorflow as TF failed

Install and downloadVC_redist.x64.exeRestart.