2 回答

TA贡献1828条经验 获得超13个赞
从输出判断
python -c "from setuptools import pep425tags; print(pep425tags.get_supported()[0])"
('cp36', 'cp36m', 'win32')
您有受支持的 Python 版本,但安装了 32 位发行版(平台标记是win32;对于 Windows 上的 64 位 Python,它应该是win_amd64)。Tensorflow 仅适用于 64 位发行版(PyPI 上的所有轮子都有macosx_10_11_x86_64适用于 MacOS、manylinux1_x86_64Linux 或win_amd64Windows 的平台标签)。安装 64 位 Python(例如 from python-3.6.8-amd64.exe)即可解决问题。

TA贡献1842条经验 获得超13个赞
您可以尝试列出可用版本:
$ pip.exe install tensorflow==
Collecting tensorflow==
Could not find a version that satisfies the requirement tensorflow== (from ver sions: 1.2.0rc2, 1.2.0, 1.2.1, 1.3.0rc0, 1.3.0rc1, 1.3.0rc2, 1.3.0, 1.4.0rc0, 1.4.0rc1, 1.4.0, 1.5.0rc0, 1.5.0rc1, 1.5.0, 1.5.1, 1.6.0rc0, 1.6.0rc1, 1.6.0, 1.7. 0rc0, 1.7.0rc1, 1.7.0, 1.7.1, 1.8.0rc0, 1.8.0rc1, 1.8.0, 1.9.0rc0, 1.9.0rc1, 1.9 .0rc2, 1.9.0, 1.10.0rc0, 1.10.0rc1, 1.10.0, 1.11.0rc0, 1.11.0rc1, 1.11.0rc2, 1.11.0, 1.12.0rc0, 1.12.0rc1, 1.12.0rc2, 1.12.0)
No matching distribution found for tensorflow==
添加回答
举报