【发布时间】:2021-04-22 05:58:20
【问题描述】:
您好,我在使用 pip 在 python 中安装 tensorflow 时遇到问题:我正在将 pycharm 与 python 3.8 一起使用,但是当我想安装 tensorflow 时,我总是遇到同样的错误:
pip3 install tensorflow
Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
我尝试了很多方法来安装它,但它总是崩溃,谢谢你的帮助,对不起我的英语不是我的第一语言
【问题讨论】:
-
你试过升级pip吗? pip install --upgrade pip
-
是的,我更新了它,我尝试了一切,但没有用
-
根据 tensorflow 文档,Python 3.8 需要 TensorFlow 2.2 或更高版本,根据 PyPI,最新版本是 2.4.0,因此“pip install tensorflow==2.4.0”应该可以工作。
-
您可能安装了 32 位 Python 而不是 64 位。
标签: python tensorflow pip python-wheel