【问题标题】:pycharm can't install Tensorflow on windows 10pycharm 无法在 Windows 10 上安装 Tensorflow
【发布时间】:2020-05-18 16:31:59
【问题描述】:

我试试

pip install --user --upgrade pip

pip install tensorflow

pip3 install tensorflow

Terminal

Add python interpreter

Settings

RunDebugConfigurations

可用的软件包 收集张量流 找不到满足要求 tensorflow 的版本(来自版本:) 没有找到 tensorflow 的匹配分布 enter image description here

【问题讨论】:

    标签: python tensorflow pycharm virtualenv


    【解决方案1】:

    拉维苏特,

    您似乎输入了正确的命令。根据您的输入,您似乎安装了 32 位 Python 版本。 TensorFlow 仅在 Python 64 位上受支持。所以安装 64 位版本的 Python 再试一次。

    之后,如果您仍然有问题 - 试试这个帖子:TensorFlow not found using pip

    特别是尝试使用 whl 文件进行安装: python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.1.0-cp37-cp37m-manylinux2010_x86_64.whl
    您可能需要在这里选择相关的 TF 版本():https://www.tensorflow.org/install/pip

    【讨论】:

    • 谢谢我安装 Python 3.7 64 位和 pip install tensorflow ...成功
    【解决方案2】:

    安装 Python 3.7 64 位和 pip install tensorflow ...成功

    enter image description here

    【讨论】:

      猜你喜欢
      • 2021-08-29
      • 2019-11-14
      • 2020-10-12
      • 2020-10-11
      • 2019-02-09
      • 2018-11-11
      • 1970-01-01
      • 2022-08-05
      • 2018-09-11
      相关资源
      最近更新 更多