我最近使用pip install --upgrade tensorflow
安装了TensorFlow,然后在导入它时出现以下错误:
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
Failed to load the native TensorFlow runtime.
答案 0 :(得分:0)
尝试一下:
pip install setuptools
如果不会更改任何内容,请卸载tensorflow并尝试(如果您有conda env):
conda install tensorflow