Quick method to install pycuda on ubuntu/linux

original

A simple way to install pycuda without checking the corresponding cuda and python versions

  1. First you need to install cuda and anaconda

  2. Excuting an orderconda 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.

Guess you like

Origin blog.csdn.net/qq_29007291/article/details/128646924