安装的版本为python 3.8,tensorflow 2.3
1.安装anaconda
下载anaconda,
Anaconda 清华大学开源软件镜像站下载
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
Anaconda 与python的对应版本
https://blog.csdn.net/yuejisuo1948/article/details/81043823
2.windows系统需要安装vc_redist.x64.exe (tensflow2.1及以后版本以后需要安装)
下载地址
https://aka.ms/vs/16/release/vc_redist.x64.exe
3.安装tensorflow
默认下载安装命令:pip install tensorflow-cp版本号 (如:pip install tensorflow-cp2.3.0)
镜像下载安装命令:pip install tensorflow-cp版本号 -i
镜像地址
(如:pip install tensorflow-cp2.3.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/
国内镜像地址:
阿里云
http://mirrors.aliyun.com/pypi/simple/
中国科技大学
https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban)
http://pypi.douban.com/simple/
清华大学
https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学
http://pypi.mirrors.ustc.edu.cn/simple/
注意:
anaconda在安装时,记得两项都要勾选,其余都是next