I am having problems with the PyOpenCL module when trying to make .exe from Py2Exe. Py2Exe does .exe as it should (No: ImportError: No module named pyopencl here), but when I run .exe it does not talk about a module named pyopencl.
I am trying to make a .exe file from Phoenix Miner.
My setup.py:
from distutils.core import setup
import py2exe, sys, os, pyopencl
sys.argv.append('py2exe')
setup(
options = {'py2exe': {'bundle_files': 1,
"includes":["pyopencl","twisted",
"zope","QueueReader",
"numpy"]}},
console=[{'script' : 'phoenix.py'}],
data_files=["C:\\Users\\Nicklas\\Desktop\\Phoenix-Miner\\kernels\\poclbm\\kernel.cl"],
zipfile = None,
)
I found someone who had the same problem as my http://bytes.com/topic/python/answers/848048-py2exe-module-error , but without a solution.
UPDATE:
. pyopencl __init__ , _find_pyopencl_include_path, , . : imp pyopencl. , pyopencls include directory. , . .