Installing PyCUDA on Windows

This section will describe the steps to install PyCUDA on a Windows operating system. Windows 10 is used for the demonstration, but the procedure will work on any recent Windows versions. The steps are described below:

  1. If you have not installed CUDA toolkit, as described in the first chapter, then download the latest CUDA toolkit from It will ask for your operating system, CPU architecture, and whether to install using the internet or to download the entire installer first. As can be seen from the following screenshot, we have chosen Windows 10 with the local installer. You can choose values according to your settings:
  1. Install the CUDA toolkit by double-clicking ...

Get Hands-On GPU-Accelerated Computer Vision with OpenCV and CUDA now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.