cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

riza_guntur
Journeyman III

How to install Python wrapper for OpenCL in Windows

Hello, just a moment I see that OpenCL wrapper for Python packs really neat interface for easier coding.

I touch Python just after seeing it and after download Python 3.1 and pyOpenCL I found:

C:\downloads\pyopencl-0.91.3>setup.py
  File "C:\downloads\pyopencl-0.91.3\setup.py", line 115
    author=u"Andreas Kloeckner",
                              ^
SyntaxError: invalid syntax

I'm confuse, I've read it needs more modules...

Can anybody give step-by-step instructions from start (how to properly install Python), middle (how to properly install anything between) to finish (how to code it) without really need to google it... Help...

0 Likes
3 Replies
emuller
Journeyman III

Do not use Python 3.X, use Python 2.X

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

Too bad you're not using Ubuntu: everything is in the repositories, and they are installed with one apt-get command.  You might try enthought python distribution for python with numpy and scipy:

http://www.enthought.com/products/getepd.php

or python(x,y)

http://www.pythonxy.com/foreword.php

but ... dual-booting Ubuntu might be easier.

 

 

 

 

 

 

 

 

0 Likes

I give up in Windows, its so damn complicated

0 Likes

Indeed, I feel your pain.

 

0 Likes