zoukankan      html  css  js  c++  java
  • anaconda import tensorflow 后出现 google

    执行:

    python -c "import tensorflow"

    出现错误,最后一段如下,

    ImportError: /home/hanxinle/anaconda2/envs/tfdeeplearning/lib/python3.5/site-packages/google/protobuf/pyext/_message.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZNK6google8protobuf10TextFormat17FieldValuePrinter9PrintBoolEb

    使用,

    conda install -c anaconda protobuf

    参考:

    [1] https://github.com/openai/baselines/issues/742   (解决方法在此处)

    [2] https://github.com/conda-forge/opencv-feedstock/issues/111#issuecomment-404356834

    [3] https://github.com/conda-forge/tensorflow-feedstock/issues/57 

  • 相关阅读:
    141. 环形链表
    15. 三数之和
    剑指 Offer 59
    177. 第N高的薪水
    176. 第二高的薪水
    175. 组合两个表
    剑指 Offer 57
    剑指 Offer 56
    110. 平衡二叉树
    置顶
  • 原文地址:https://www.cnblogs.com/hanxinle/p/11835552.html
Copyright © 2011-2022 走看看