Learning record: Windows notebook uninstalls cuda10.0, Anaconda3-2019, pycharm-2021, and reinstalls cuda11.6, anaconda3-2022, pycharm-2022 with the new driver

cutting edge:

        Since the last article mentioned that the cuda10.0 version of my computer is too old, I thought about upgrading cuda again, and I did an upgrade together with the driver, anaconda3, and pycharm, and recorded it.

cuda11.6, cudnn8.5.0, anaconda3-2022, pycharm-2022 installation package Baidu network disk address:

Link: https://pan.baidu.com/s/11S1yvp9I3YIyzpIyclSiDg 
Extraction code: 6w9u

1. Update the driver

 Open NVIDIA, login account password and new driver, no account password can be created, the picture below shows the latest driver installed

2. Uninstall cuda10.0, Anaconda3-2019, pycharm-2021

2.1. Open the computer control panel and uninstall the following related content

2.2. Keep the following related driver content

2.3. The computer housekeeper cleans up the registry garbage to ensure it is clean

3. View the driver version and the cuda version that can be installed

Open the terminal with cmd and enter nvidia-smi to view it. The driver version is 531.18, and the maximum cuda12.1 version can be installed. Here I choose cuda11.6 version for subsequent installation.

4. Install anaconda3-2022

 Successful installation! ! ! !

5. Install pycharm-2022

 Successful installation! ! !

6. Install cuda11.6

cuda11.6 official download address:

https://developer.nvidia.com/cuda-11-6-0-download-archive?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exe_local

choose custom install

Uncheck Visual Studio Integration

The current version is greater than the new version, uncheck it!

The default installation location, do not change

Test cmd, the installation is successful! ! !

7. Install cudnn8.5.0

cudnn8.5.0 official download address:

https://developer.nvidia.com/rdp/cudnn-archive#a-collapse850-116

 decompress

 Copy and paste the three folders inside to the CUDA/v11.6 folder below to replace the file

set environment variables

Add the following path to the path path of the system variable:

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\libnvvp
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\lib
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\include

To check, open cmd in the C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\extras\demo_suite folder and enter

.\bandwidthTest.exe

.\deviceQuery.exe 

 Pass appears, the installation is successful! ! !

Guess you like

Origin blog.csdn.net/weixin_47247597/article/details/129540263