“'CXXABI_1.3.8' not found” in tensorflow-gpu - install from source

后端 未结 4 2077
生来不讨喜
生来不讨喜 2020-12-15 10:17

I have re-installed Anaconda2. And I got the following error when \'python -c \'import tensorflow\'\'

ImportError: /home/jj/anaconda2/bin/../lib/libs

4条回答
  •  不思量自难忘°
    2020-12-15 10:37

    I ended up here looking for my problem, same error message but different app.

    My app gave the error with /lib64/libstdc++.so.6 which was pointing to /lib64/libstdc++.so.6.0.19

    After reading other webs, I kind of figured out I had to "replace" to where my /lib64/libstdc++.so.6 was pointing out and a newer version was located in my conda environment... so:

    (sudo) rm /system/path/to/lib/libstdc++.so.6
    (sudo) ln -s /path/to/conda/lib/libstdc++.so.6.0.26  /system/path/to/lib/libstdc++.so.6
    

    So I guess it's not the best solution but as user finally get the app works.

    Also I read here, this:

    Set the LD_LIBRARY_PATH before you run TF, so this lib would only be effective in this shell.

    Hope this help.

提交回复
热议问题