python2 安装 tensorflow 遇到问题

使用pip install --upgrade tensorflow出现以下问题:

这是因为安装 grpcio 出错了,解决方案:

pip install --no-cache-dir --only-binary :all: grpcio==1.10.1
pip install tensorflow==1.8.0

你可能感兴趣的:(tensorflow,Python,tensorflow)