ImportError: libnvidia-fatbinaryloader.so.375.39: cannot open shared object file: No such file or directory

后端 未结 6 968
陌清茗
陌清茗 2021-01-01 03:09

I\'m using Ubuntu 16.04, Cuda 8.0 and cudann-v5.1. I uninstalled Tensorflow-CPU version and reinstalled tensorflow-GPU enabled. Followed the instructions given here: https:/

6条回答
  •  离开以前
    2021-01-01 04:02

    In my case I previously had nvidia 387.34 and later uninstalled it using

    sudo apt-get purge nvidia*
    

    Then I installed driver 384.111, added /usr/lib/nvidia-384 to my LD_LIBRARY_PATH but tensorflow was still asking for libnvidia-fatbinaryloader.so.387.34

    I realized that /usr/lib/x86_64-linux-gnu and /usr/lib/i386-linux-gnu still had libcuda.so.387.34 Once I deleted these files from both these directories tensorflow picked up the correct version of 384.

    Do apt-get remove nvidia-{{version}} for uninstalling. Then do sudo apt-get purge nvidia*. This will be more foolproof I guess.

提交回复
热议问题