【问题标题】:How to install tensorflow==2.3.0如何安装tensorflow==2.3.0
【发布时间】:2020-11-14 07:52:14
【问题描述】:

我想在新的tensorflow2.3 中测试一些功能但是,我在安装过程中遇到了困难。

我看到了:How do I install the most recent Tensorflow (here: 2.2) on Windows when conda does not yet support it?

我执行了:pip install --upgrade pip

我明白了:

ERROR: Could not find a version that satisfies the requirement tensorflow-cpu==2.3.0rc2 (from versions: 1.15.0rc0, 1.15.0rc1, 1.15.0rc2, 1.15.0rc3, 1.15.0, 2.1.0rc0, 2.1.0rc1, 2.1.0rc2, 2.1.0)
ERROR: No matching distribution found for tensorflow-cpu==2.3.0rc2

【问题讨论】:

    标签: tensorflow pip tensorflow2


    【解决方案1】:

    请确保 pip 指向 pip3,因为 tensorflow 需要 python3

    pip --version
    
    
    pip3 install --upgrade tensorflow
    

    【讨论】:

    • 非常感谢!实际上,它指向的是python2.7。升级允许我通过 pip install tensorflow-cpu==2.3.0rc2 获得 tf2.3。再次感谢!
    • 重要的是先升级pip; pip3 install --upgrade pip
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-07-06
    • 1970-01-01
    • 2022-07-04
    • 2018-07-12
    • 2021-05-24
    • 2017-05-25
    • 2022-01-19
    相关资源
    最近更新 更多