[PyCUDA] Issue with running examples

Gregory glp at xplornet.com
Thu Sep 29 06:24:57 PDT 2011


Scratch that, I used the Debian .deb to install in a systematic matter.
All works now!

On 11-09-24 10:23 AM, Gregory wrote:
> I tried running the examples but python can't find the necessary modules.
>
> I'm running Nvidia 270.41.19 of the dev drivers with the 4.0 Toolkit.
> Using Gcc version 4.4.3 and python 2.6.5 on Ubuntu 10 x64. CUDA demos
> work nicely. This is what I used to install CUDA.
> http://wiki.accelereyes.com/wiki/index.php/Installing_CUDA_Under_Ubuntu_10.04
>
> I have this version of pycuda http://pypi.python.org/pypi/pycuda
>
> I got around the -lcurand problem with this
> http://www.mail-archive.com/pycuda@tiker.net/msg02139.html using
>
> --ldflags=-L/usr/local/cuda/lib64.
>
> The pycuda instructions for Ubuntu are what I followed and the make was successful.
>
> greg at skunk:~/pycuda-2011.1.2/examples$ python demo2.py
> Traceback (most recent call last):
>   File "demo2.py", line 42, in <module>
>     main()
>   File "demo2.py", line 4, in main
>     import pycuda.driver as cuda
> ImportError: No module named pycuda.driver
>
> Any assistance would be greatly appreciated!
>
>
> _______________________________________________
> PyCUDA mailing list
> PyCUDA at tiker.net
> http://lists.tiker.net/listinfo/pycuda
>




More information about the PyCUDA mailing list