On Donnerstag 07 Januar 2010, Ian Ozsvald wrote:
> I'm having a devil of a time getting pyCUDA to work on my MacBook and I
> can't get past this error:
> host47:examples ian$ python demo.py
> Traceback (most recent call last):
>   File "demo.py", line 22, in <module>
>     """)
>   File "/Library/Python/2.5/site-packages/pycuda/compiler.py", line 203, in
> __init__
>     arch, code, cache_dir, include_dirs)
>   File "/Library/Python/2.5/site-packages/pycuda/compiler.py", line 188, in
> compile
>     include_dirs = include_dirs + [_find_pycuda_include_path()]
>   File "/Library/Python/2.5/site-packages/pycuda/compiler.py", line 149, in
> _find_pycuda_include_path
>     raise RuntimeError("could not find path to PyCUDA's C header files")
> RuntimeError: could not find path to PyCUDA's C header files
> 
> Below I have version info and the full build process leading up to the
> error...Any pointers would be *hugely* appreciated.  If someone could
> explain what's happening here and what pyCUDA is looking for, that might
> point me in the right direction.
> 
> Am I missing something silly?  I spent yesterday banging my head against
>  the 'make' process until I found a spurious '=' in the ./configuration.py
>  arguments (entirely my fault), maybe I've missed something silly here too?

See if you can find pycuda-helpers.hpp under /Library/Python/2.5/site-
packages/ 
somewhere, we may need to adapt _find_pycuda_include_path(). It's quite
interesting to see where all this stuff can end up...

Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to