I have created a conda environment and after activating, I did in it
conda install -c conda-forge cudatoolkit=11.6
After that I did
$conda list | grep cudatoolkit
cudatoolkit 11.6.2 hfc3e2af_13 conda-forge
$ls $CONDA_PREFIX/lub | grep libcudart
libcudart.so
libcudart.so.11.0
libcudart.so.11.6.55
However nvcc
still finds the old version
$nvcc --version
nvcc: NVIDIA (R) Cuda compiler driverCuda compilation tools, release 8.0, v8.0.61
This seems to be giving me problems later when installing other libraries. How can I make the new one recognized?