-
下载Python3.7版本以下的且为64bit进行安装,注意勾选环境
-
升级pip
python -m pip install --upgrade pip
-
安装tensorflow
pip install tensorflow
如果处在墙内建议使用国内镜像
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow
出现如下情况,可更改protobuf版本解决:
pip uninstall protobuf
pip install protobuf==3.6.0

本文详细介绍了如何下载并安装Python3.7版本及以下的64位环境,包括环境变量的配置,pip的升级,以及使用pip安装TensorFlow的方法。特别针对墙内用户,提供了清华源的镜像加速下载,同时解决protobuf版本冲突的问题。
9465

被折叠的 条评论
为什么被折叠?



