Let me preface by saying I am still relatively new to Python.
I recently installed PyOpenCL on my Red Hat desktop. I thought I got all the
right versions, but when I ran the examples I got errors. I traced it down to
a function and you can see the error below:
dp35382@ibshouengxw406:/storage $ python
Python 2.4.3 (#1, Aug 29 2011, 10:55:55)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyopencl
>>> from pyopencl.cache import create_built_program_from_source_cached
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/usr/lib64/python2.4/site-packages/pyopencl-2011.2-py2.4-linux-x86_64.egg/pyopencl/cache.py",
line 265
finally:
^
SyntaxError: invalid syntax
As you can see, I am running Python 2.4.3 and downloaded the 2.4 version of
PyOpenCL. The error would make me think that I have a version mismatch. Can
anyone confirm and maybe tell me what I did wrong?
Thanks
Dominic
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl