对于已经安装过的tensorflow,执行以下命令升级到最新版: pip3 install -U tensorflow 目前最新版本1.4 转载于:https://www.cnblogs.com/fanlu/p/7989779.html