這篇是參考周莫煩的文章, 很多實用的知識喔!

https://morvanzhou.github.io/tutorials/machine-learning/tensorflow/1-2-install/

灌完Windows 10 X64後, 當然要先灌Python啦! 還要pip tensorflow

上PYPI下載了whl, 然後pip

未命名.png

開了IDLE, import tensorflow

未命名.png

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
這段error又是啥米鬼?

不過最後一行他有說 URL : https://www.microsoft.com/en-us/download/details.aspx?id=53587

安裝完成果然就可以import了

未命名.png

 

 

 

arrow
arrow
    文章標籤
    python tensorflow
    全站熱搜

    張郎屋 發表在 痞客邦 留言(0) 人氣()