import tensorflow遇到的问题 ImportError: Could not find 'msvcp140.dll'

ImportError: Could not find ‘msvcp140.dll’. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. You may install this DLL by downloading Visual C++ 2015 Redistributable Update 3 from this URL: https://www.microsoft.com/en-us/download/details.aspx?id=53587

打开提示的URL:https://www.microsoft.com/en-us/download/details.aspx?id=53587

import tensorflow遇到的问题 ImportError: Could not find 'msvcp140.dll'_第1张图片
下载Visual C++ 2015 Redistributable
然后安装
import tensorflow遇到的问题 ImportError: Could not find 'msvcp140.dll'_第2张图片

这时候再用就没问题了。

你可能感兴趣的:(tensorflow)