执行:

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 

相关文章:

  • 2021-06-08
  • 2022-01-03
  • 2021-07-22
  • 2022-01-13
  • 2022-12-23
  • 2021-09-12
  • 2021-07-09
  • 2021-06-19
猜你喜欢
  • 2021-09-09
  • 2021-05-23
  • 2022-12-23
  • 2021-08-13
  • 2021-05-30
  • 2021-05-07
  • 2021-09-14
相关资源
相似解决方案