ImportError: Could not find the DLL(s) 'msvcp140_1.dll'.
报错信息
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:
报错原因
缺少关键文件
解决方案
1、打开网址 https://support.microsoft.com/zh-cn/help/2977003/the-latest-supported-visual-c-downloads
选择适合的版本然后下载
下载之后,安装,然后重启电脑
还没有评论,来说两句吧...