nvcc not found on jetson code example
Example: nvcc not found in jetson nano
sudo nano ~/.bashsrc
add this two line at the end of file
export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64\
${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}