Sven Schreiber <[email protected]> writes:

> Am 02.08.2013 14:16, schrieb Sven Schreiber:
>> Am 01.08.2013 19:39, schrieb Andreas Kloeckner:
>>> Hi Sven,
>>>
>> 
>>> No, nothing in that regard should have changed between these two
>>> releases. When you "python setup.py install" pytools, pytools should
>>> noodle itself through 2to3 and be compatible with Python 3 that
>>> way. You're right in that its source code is not valid Python 3, but
>>> that isn't (yet) intended.
>>>
>>> tl;dr: Someone (you, or the install script) needs to run 2to3.
>>>
>> 
>> Ok I see; the manual (i.e., no pre-packaged distro) Py3 setup that I
>> tried first (on 32bit Windows 8 in this case) somehow didn't do that,
>> and I got a syntax error with these print statements.
>> 
>> I switched to Py2 and everything worked fine there, but maybe I will try
>> to tackle the pyopencl install under Py3 again...
>> 
>
> Ok, so for the record and/or future reference:
>
> Using the (32bit) appropriate exe-packages from
> www.lfd.uci.edu/~gohlke/pythonlibs/
> under (a 32bit) Py3.3 on Windows (v7, 64bit) worked fine for me, except
> that pytools need the "decorator" module
> (https://pypi.python.org/pypi/decorator)
> which then isn't present, and so I used the pytools package directly
> from pypi with the standard "python setup.py install" command which then
> pulls in "decorator" automagically.
>
> If you have read this message very carefully, you may have noticed that
> it suddenly talks about Windows 7 instead of Win8 before, but it applies
> to both. Only that my Win8 is 32bit and the Win7 64bit, but I'm using a
> 32bit Python on both systems anyway (to be honest, I don't remember the
> reason anymore for not using the 64bit version...).
>
> Thanks again to everybody involved for their work!

Glad to hear you got your problem resolved! It'd be great if you could
add this info to the PyOpenCL wiki, here:

http://wiki.tiker.net/PyOpenCL/Installation/Windows

Thanks!
Andreas

Attachment: pgpgUGIE69ipX.pgp
Description: PGP signature

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to