check your /usr/local/
if there is cuda-right-version, it’s easy to fix this problem;
1export CUDA_HOME=/usr/local/cuda-9.22export PATH=/usr/local/cuda-9.2/bin:$PATH
Reproduced and solved on 2024-2-1.
-->
if there is cuda-right-version, it’s easy to fix this problem;
1export CUDA_HOME=/usr/local/cuda-9.22export PATH=/usr/local/cuda-9.2/bin:$PATH
Reproduced and solved on 2024-2-1.