win10 装TensorFlow2.2.0

在cmd命令行输入下方命令

 pip install tensorflow==2.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

由于我的cuda版本是10.2 所以我下载的TensorFlow版本是2.2.0
如果你想下载其他版本 可以把上面命令的2.2.0改为相应的版本号,如果想下载GPU版本的命令如下

pip install tensorflow-gpu==2.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

猜你喜欢

转载自blog.csdn.net/weixin_43510203/article/details/115296212