Installing PyOpenCL on Windows

  1. Install OpenCL SDK
  2. Install Python 3.6 at (version 3.6 is recommended) https://www.python.org
  3. Install pip
    1. Download get-pip.py at https://pip.pypa.io/en/stable/installing
    2. Run the script by “python get-pip.py” in the console window.
  4. Install NumPy package
    1. Download numpy-*-cp36-cp36-*.whl at http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
    2. Run “python -m pip install <numpy_package.whl>
  5. Install PyOpenCL package
    1. Download pyopencl-*-cl12-cp36-*.whl at http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl
    2. Run “python -m pip install <pyopencl_package.whl>