Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to install PyCUDA

📅 2015-Feb-24 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

PyCUDA enables a Python program to pass data to and call CUDA kernels from a Python program. Getting it to install and work correctly on Ubuntu took a bit of work.

$ sudo pip install pycuda

The install script kept complaining about the absence of a configure.py script, but it seemed to end with success.

Tried with: PyCUDA 2014.1, CUDA 5.5, NVIDIA 331 driver and Ubuntu 14.04