A simple way to install pycuda without checking the corresponding cuda and python versions
-
First you need to install cuda and anaconda
-
Excuting an order
conda install -c conda-forge pycuda
It will update and replace the priority, and ask whether to continue processing.
After entering y to complete the processing, enter import pycuda in spyder. If no error occurs, the installation is successful.
Or enter python in the terminal, and then enter import pycuda. If no error occurs, the installation is successful.