我正在尝试使用 pip 安装 TensorFlow:
$ pip install tensorflow --user
Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
我究竟做错了什么?到目前为止,我使用 Python 和 pip 没有任何问题。
原文由 user6574649 发布,翻译遵循 CC BY-SA 4.0 许可协议
我发现这终于奏效了。
编辑 1:已在 Windows(8、8.1、10)、Mac 和 Linux 上进行测试。根据您的配置将
python3
更改为python
。如果您使用的是 Python 2.x,请在 url 中将py3
更改为py2
。编辑 2:如果有人需要,可以列出不同版本: https ://storage.googleapis.com/tensorflow
编辑 3:此处提供可用轮包的 URL 列表: https ://www.tensorflow.org/install/pip#package-location