nvcc-shows-wrong-version

Published at 2024-03-21
Last update over 365 days ago Licensed under CC BY-NC-SA 4.0 softwares-and-toolsnvidia

check your /usr/local/

if there is cuda-right-version, it's easy to fix this problem;

export CUDA_HOME=/usr/local/cuda-9.2
export PATH=/usr/local/cuda-9.2/bin:$PATH

Reproduced and solved on 2024-2-1.