V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Ewig
V2EX  ›  TensorFlow

tensorflow 安装报错

  •  
  •   Ewig · 2019-01-14 00:06:34 +08:00 · 5138 次点击
    这是一个创建于 1901 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我的 python 版本是 Python 3.4.8

    shenjianlin@newdev:~(spider)$ pip install --ignore-installed --upgrade 'https://github.com/sigilioso/tensorflow-build/raw/master/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl'--user
    Collecting https://github.com/sigilioso/tensorflow-build/raw/master/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl--user
    HTTP error 404 while getting https://github.com/sigilioso/tensorflow-build/raw/master/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl--user
    Could not install requirement https://github.com/sigilioso/tensorflow-build/raw/master/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl--user because of error 404 Client Error: Not Found for url: https://github.com/sigilioso/tensorflow-build/raw/master/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl--user
    Could not install requirement https://github.com/sigilioso/tensorflow-build/raw/master/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl--user because of HTTP error 404 Client Error: Not Found for url: https://github.com/sigilioso/tensorflow-build/raw/master/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl--user for URL https://github.com/sigilioso/tensorflow-build/raw/master/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl--user

    下载版本的报错,直接 pip3 install tensorflow 的话不能用

    Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

    我是想用这个浮点运算的,现在如何下载对应版本的 tensorflow
    2 条回复    2019-03-15 08:32:27 +08:00
    alvinbone88
        1
    alvinbone88  
       2019-01-14 01:34:46 +08:00   ❤️ 1
    这只是一个提示,不影响使用
    如果的确需要这些特性的话,建议自行编译
    方法在 https://www.tensorflow.org/install/source

    可能有帮助的链接 https://stackoverflow.com/questions/41293077/how-to-compile-tensorflow-with-sse4-2-and-avx-instructions
    alex321
        2
    alex321  
       2019-03-15 08:32:27 +08:00
    AVX 这个特性支持是在 1.6 开始要的吧。所以我装了 tensorflow==1.5。。。。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1536 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:10 · PVG 01:10 · LAX 10:10 · JFK 13:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.