Python permanently modifies pip mirror source
If change the mirror source to Tsinghua Mirror Source, type the following code in the Terminal:
|
|
Install Cuda In Virtual Environment of Conda
First Run the code in the Terminal to determine the version of Cuda:
|
|
CUDA Version is the version of cuda that the computer can support, so the version of cuda we want to install needs to be <= CUDA Version (backward compatible)
Run the code in order in the Terminal:
|
|
After installing the Cuda, Run the code in order in the Terminal and verify that Cuda was installed successfully:
|
|