Installing CUDA Python

See how to install CUDA Python followed by a tutorial on how to run a Python example on a GPU.

Find code used in the video at:

Learn more at the blog:


  1. Getting below error
    CUDA driver library cannot be found.
    If you are sure that a CUDA driver is installed,
    try setting environment variable NUMBAPRO_CUDA_DRIVER
    with the file path of the CUDA driver shared library.

  2. The condatoolkit installation process always gives an error.
    An HTTP error occurred when trying to retrieve this URL.
    HTTP errors are often intermittent, and a simple retry will get you on your way.

    i am doing it on windows

  3. I Followed all the steps and checked twice, but this error message keeps showing up:

    Traceback (most recent call last):
    File "", line 4, in <module>
    from numba import vectorize, cuda
    ImportError: cannot import name cuda

    I'm using Ubuntu 17.04, on 64-bit machine with Nvidia gpu.

    Thanks in advance

Leave a Reply

Your email address will not be published.