1. 关闭防火墙
conda config --set ssl_verify no
2. 安装tensorflow环境
conda create -n tensorflow python=3.5
3. 遇到了报错
twisted 18.7.0 requires PyHamcrest >= 1.9.0, which is not installed
可能是缺少这个包,安装这个包
conda install -c conda-forge pyhamcrest
4. numpy报错
ImportError: Something is wrong with the numpy installation. While importing we detected an older ver
sion of numpy in [‘D:\SoftWare\Programing\Anoconda\lib\site-packages\numpy’]. One method of fix
ing this is to repeatedly uninstall numpy until none is found, then reinstall this version.
5. 卸载重装 numpy
conda remove numpy
conda install numpy
6. 进入python ,验证tensorflow是否安装成功 :
大功告成~。