window python vscode 环境 Anaconda tensorflow 安装配置
注1.The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available.
import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='2' # 只显示 warning 和 Error
安装Anaconda3-4.2.0-Windows-x86_64.exe这个版本
repo.continuum.io/archive/
Anaconda vscode 环境配置
文件-》首选项-》键盘快捷方式-》把智能提示ctrl+space改为ctrl+shift+space
加入以下提示智能提示会快一些
{
"editor.snippetSuggestions": "top",
"python.pythonPath": "D:/Program Files/Anaconda3/python.exe"
}
vscode 安装了python debug就可以调试:
command 'python.python-debug.startSession' not found
卸载掉python调试插件重装解决,同时"program": "${file}","stopOnEntry": false,
conda list(包含了numpy,matplotlib,scipy)
conda install tensorflow (python 3.5 直接可以安装)
anaconda search -t conda tensorflow然后anaconda show conda-forge/tensorflow
conda list | grep tensorflow