参考了如下博客
https://blog.csdn.net/u014061630/article/details/92744781
https://blog.csdn.net/devcloud/article/details/95945189
https://blog.csdn.net/yuzaipiaofei/article/details/80891108
1、安装anaconda3(直接进管网下载)
2、打开navigator
3、添加清华anaconda镜像:
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
4、创建一个新环境,名称tensorflow,python版本为3.5.2
5、在路径C:\Users\Administrator新建pip文件夹,然后新建文本文档pip.ini
[global]
timeout = 6000
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
trusted-host = pypi.tuna.tsinghua.edu.cn
6、pip下载tensorflow
7、输入:conda list 查看tensorflow 是否在列表中
8、测试
此时tensorflow已经安装好了
9、接下来安装tensorflow下的jupyter notebook
在Jupyter环境里执行上面的测试代码