出现问题
module 'tensorflow' has no attribute '__version__'
tensorflow版本不对
创建虚拟环境
conda create -n tensorflow1 python=3.6
source activate tensorflow1 #开启虚拟环境
source deactivate #关闭虚拟环境
用国内源下载tensorflow
pip install tensorflow==1.9.0 -i https://mirror.baidu.com/pypi/simple