问题一:
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
解决办法:
打开 网址我下载的是x64:vc_redist.x64.exe运行安装完成之后重启电脑即可解决。
问题二:
ModuleNotFoundError: No module named ‘tensorflow.python’
解决办法:
由于我之前使用如下代码进行TensorFlow的安装
pip install