[英]ImportError when importing tensorflow
I've recently installed TensorFlow using pip install --upgrade tensorflow
then when I import it, I get the following error: 我最近使用
pip install --upgrade tensorflow
安装了TensorFlow,然后在导入它时出现以下错误:
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
Failed to load the native TensorFlow runtime.
try this: 尝试这个:
pip install setuptools
if wont change anything uninstall tensorflow and try (if you have conda env): 如果不做任何更改,请卸载tensorflow并尝试(如果您有conda env):
conda install tensorflow
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.