Dear Marco,

the easiest thing to do is to have nvcc in your $PATH--that should then
enable PyCUDA to automatically find the rest of CUDA.

Andreas

Marco Ippolito <[email protected]> writes:

> Hi all,
>
> in my Ubuntu 14.04 I'm trying to install PyCUDA, but I have this
> error's message:
>
> utente@utente-All-Series:~$ sudo pip install pycuda
> Downloading/unpacking pycuda
>   Downloading pycuda-2014.1.tar.gz (1.6MB): 1.6MB downloaded
>   Running setup.py (path:/tmp/pip_build_root/pycuda/setup.py) egg_info
> for package pycuda
>     *** WARNING: nvcc not in path.
>     *************************************************************
>     *** I have detected that you have not run configure.py.
>     *************************************************************
>     *** Additionally, no global config files were found.
>     *** I will go ahead with the default configuration.
>     *** In all likelihood, this will not work out.
>     ***
>     *** See README_SETUP.txt for more information.
>     ***
>     *** If the build does fail, just re-run configure.py with the
>     *** correct arguments, and then retry. Good luck!
>     *************************************************************
>     *** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT
>     *************************************************************
> Continuing in 1 seconds...   ..
>     Traceback (most recent call last):
>       File "<string>", line 17, in <module>
>       File "/tmp/pip_build_root/pycuda/setup.py", line 216, in <module>
>         main()
>       File "/tmp/pip_build_root/pycuda/setup.py", line 88, in main
>         conf["CUDA_INC_DIR"] = [join(conf["CUDA_ROOT"], "include")]
>       File "/usr/lib/python2.7/posixpath.py", line 77, in join
>         elif path == '' or path.endswith('/'):
>     AttributeError: 'NoneType' object has no attribute 'endswith'
>     Complete output from command python setup.py egg_info:
>     *** WARNING: nvcc not in path.
>
> *************************************************************
>
> *** I have detected that you have not run configure.py.
>
> *************************************************************
>
> *** Additionally, no global config files were found.
>
> *** I will go ahead with the default configuration.
>
> *** In all likelihood, this will not work out.
>
> ***
>
> *** See README_SETUP.txt for more information.
>
> ***
>
> *** If the build does fail, just re-run configure.py with the
>
> *** correct arguments, and then retry. Good luck!
>
> *************************************************************
>
> *** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT
>
> *************************************************************
>
> Continuing in 1 seconds...
>
> Traceback (most recent call last):
>
>   File "<string>", line 17, in <module>
>
>   File "/tmp/pip_build_root/pycuda/setup.py", line 216, in <module>
>
>     main()
>
>   File "/tmp/pip_build_root/pycuda/setup.py", line 88, in main
>
>     conf["CUDA_INC_DIR"] = [join(conf["CUDA_ROOT"], "include")]
>
>   File "/usr/lib/python2.7/posixpath.py", line 77, in join
>
>     elif path == '' or path.endswith('/'):
>
> AttributeError: 'NoneType' object has no attribute 'endswith'
>
> ----------------------------------------
> Cleaning up...
> Command python setup.py egg_info failed with error code 1 in
> /tmp/pip_build_root/pycuda
>
> What do I have to do in order to correctly install PyCUDA?
>
> Looking forward to your kind helpfull hints.
> Kind regards.
> Marco
>
> _______________________________________________
> PyCUDA mailing list
> [email protected]
> http://lists.tiker.net/listinfo/pycuda

Attachment: pgpo5nEjIc26U.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to