ImportError: DLL load failed while importing _pywrap_tensorflow_internal: 指定されたモジュールが見つかりません。
Windows 10にtensorflow 2.3.1をインストールした。
(base) C:\> pip install tensorflow
tensorflowをインポートしたところで、Import Error発生。
import tensorflow as tf
(略) C:\Users\hoge\miniconda3\lib\imp.py in load_dynamic(name, path, file) 341 name=name, loader=loader, origin=path) --> 342 return _load(spec) 343 ImportError: DLL load failed while importing _pywrap_tensorflow_internal: 指定されたモジュールが見つかりません。 During handling of the above exception, another exception occurred: (略)
対処の正解は、こちらのとおり「visual studio 2015, 2017, 2019ランタイムのインストール」でした。 maxigundan.com
import tensorflow as tf
2.3.1