下载python
https://www.python.org/ftp/python/3.5.3/python-3.5.3-amd64.exe
安装tensorflow
>pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl
提示成功。
然而 >python
>>> import tensorflow as tf
失败 报错
site-packages\tensorflow\python\pywrap_tensorflow.py", line 18, in swig_import_helper
return importlib.import_module(mname)
百度,参考此博客,解决问题。
http://blog.csdn.net/u013713117/article/details/54616460
原因是安装python时没有勾选
Download debug binaries (requires VS 2015 or later )