python - 无法在 Ubuntu 17.10 上安装 tensorflow

标签 python python-3.x tensorflow ubuntu-17.10

尝试在 ubuntu 17.10(python 3.6)上安装 tensorflow 时出现此错误:

Collecting tensorflow==1.7.0 from https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.7.0-cp36-cp36m-linux_x86_64.whl
could not find a version that satisfies the requirement astor>=0.6.0 (from tensorflow==1.7.0) (from versions: )
no matching distribution found for astor>=0.6.0 (from tensorflow==1.7.0)

在尝试安装 tensorflow 1.6.0 时出现此错误

could not find a version that satisfies the requirement tensorboard<1.7.0,>=1.6.0 (from tensorflow==1.6.0) (from versions: )

最佳答案

尝试以下操作:

pip3 install grpcio==1.9.1 tensorflow==1.6.0

关于python - 无法在 Ubuntu 17.10 上安装 tensorflow,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50041811/

相关文章:

python - 查找共享相同多对多关系的重复记录集

python - 我无法在我的 Pong 版本中找到 'NoneType' 错误的来源

python - 安装scikit-learn Docker镜像问题

python - 了解 softmax 输出层的目标数据

python - model.fit 给出 InvalidArgumentError : Graph execution error:

python - 使用 PyYAML 在 yaml 中将文档作为原始字符串加载

python - BranchPythonOperator 意外跳过后的 Airflow 任务

python - 如何减少 list-dict 键引用的处理时间

python - 附加到关联数组

python - 在窗口分类上使用 Tensorflow 时嵌入向量未更新