Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to install PyCUDA

📅 2015-Feb-24 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ cuda, error, gcc, installation, pycuda ⬩ 📚 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


© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧