tensorflow安装后运行报错ImportError: Could not find the DLL(s) 'msvcp140_1.dll'

tensorflow安装后运行报错ImportError: Could not find the DLL(s) ‘msvcp140_1.dll’. TensorFlow requires that these DLLs be installed in a directory that is named in your %PATH% environment variable. You may install these DLLs by downloading “Microsoft C++ Redistributable for Visual Studio 2015, 2017 and 2019” for your platform from this URL: https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads
tensorflow安装后运行报错ImportError: Could not find the DLL(s) 'msvcp140_1.dll'
解决:
去官网下载对应电脑的dll
https://support.microsoft.com/zh-cn/help/2977003/the-latest-supported-visual-c-downloads
下载vc_redist.x64.exe 文件,安装并重启