服务器安装tensorflow ImportError: libcudart.so.7.5: wrong ELF class: ELFCLASS32

1.    ~$ locate libcudart.so   #寻找有没可用的libcudart.so

2.    #找一个,比如/home/.../cuda-7.5/lib64/libcudart.so.7.5

3.    ~$ vim ~/.bashrc    #打开配置文件

4.    #按住回车到最后,增加export LD_LIBRARY_PATH="/home/.../cuda-7.5/lib64:$LD_LIBRARY_PATH"

5.    退出vim

6.    ~$ source~/.bashrc 使配置生效

猜你喜欢

转载自blog.csdn.net/weixin_41278720/article/details/80350508