linux 运行时出现“NvvmSupportError: libNVVM cannot be found. Do conda install cudatoolkit: library nvvm not found”有关的环境变量配置的问题

解决方法:添加环境变量(本人可行)

    1、进入.bashrc

     命令:$ vi .bashrc

                     NvvmSupportError: libNVVM cannot be found. Do conda install cudatoolkit: library nvvm not found

    2、进入.bashrc界面后显示如下,键盘按下‘Insert’按钮在最后一行输入 (我的CUDA 版本为8.0)   

      export NUMBAPRO_NVVM=/usr/local/cuda-8.0/nvvm/lib64/libnvvm.so
      export NUMBAPRO_LIBDEVICE=/usr/local/cuda-8.0/nvvm/libdevice/

NvvmSupportError: libNVVM cannot be found. Do conda install cudatoolkit: library nvvm not found

 

    3、按‘Esc’,然后输入‘:wq’ 退出.bashrc界面

 

    4、最后输入$source ~/.bashrc

                       NvvmSupportError: libNVVM cannot be found. Do conda install cudatoolkit: library nvvm not found

     

      5、完成!

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
猜你喜欢
  • 2021-08-03
  • 2021-12-09
  • 2022-12-23
  • 2021-10-23
  • 2021-07-28
相关资源
相似解决方案