【问题标题】:Install Tensorflow 1.8 in Python2.7在 Python2.7 中安装 Tensorflow 1.8
【发布时间】:2020-08-11 20:56:00
【问题描述】:

众所周知,Python2.7 即将结束,pip 将从 2021 年 1 月起停止支持。

是否可以安装 Tensorflow 1.8 版本,我想在我的大学演示一些使用 FaceNet 和 Tensorflow 1.8 版本的东西,现在我无法在我的新笔记本电脑上复制它。

如果有安装的可能请告诉我。

【问题讨论】:

    标签: python-2.7 tensorflow installation


    【解决方案1】:

    官方 TensorFlow 1.8.0 轮子可以在 PyPI 上找到:

    如果您使用pip 安装了 Python 2.7,那么您可以使用安装

    python2.7 -m pip install URL_TO_WHEEL
    

    其中URL_TO_WHEEL 是 PyPI 上 wheel 文件的 URL(例如,https://files.pythonhosted.org/packages/c6/0e/8af18d9169ed4f1a1c72cd50defd95b8382a12f2cf7cb9b76ba053db79ad/tensorflow-1.8.0-cp27-cp27mu-manylinux1_x86_64.whl)。

    【讨论】:

    • 感谢您的快速响应,是的,这适用于 Linux 和 MacO,是否适用于 Windows 10?
    猜你喜欢
    • 1970-01-01
    • 2018-12-04
    • 1970-01-01
    • 1970-01-01
    • 2013-10-05
    • 2012-04-26
    • 2022-07-13
    • 2016-04-24
    • 2016-09-14
    相关资源
    最近更新 更多