question
RuntimeError: The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.
Solution
Method 1. Update the driver: Official Drivers | NVIDIA
Method 2. Install the appropriate version of pytorch
Check the cuda version by command nvidia-smi,
nvidia-smi
Go to the official website (pytorch.org) to download the appropriate pytorch version,
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1 -c pytorch