Source: pyopencl
Version: 2013.2-1
If python(3)-pkg-resources is not installed, pyopencl crashes on
attempting to create a kernel (explicitly, or implicitly via
pyopencl.array):
>>> bCL=aCL+1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/pyopencl/array.py", line 829,
in __add__
self, common_dtype.type(other))
File "/usr/lib/python2.7/dist-packages/pyopencl/array.py", line 172,
in kernel_runner
knl = kernel_getter(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pyopencl/array.py", line 672,
in _axpbz
a.dtype, x.dtype, b.dtype, out.dtype)
File "<string>", line 2, in get_axpbz_kernel
File "/usr/lib/python2.7/dist-packages/pyopencl/tools.py", line 114,
in first_arg_dependent_memoize
result = func(cl_object, *args)
File "/usr/lib/python2.7/dist-packages/pyopencl/elementwise.py", line
600, in get_axpbz_kernel
name="axpb")
File "/usr/lib/python2.7/dist-packages/pyopencl/elementwise.py", line
172, in get_elwise_kernel
name=name, options=options, **kwargs)
File "/usr/lib/python2.7/dist-packages/pyopencl/elementwise.py", line
155, in get_elwise_kernel_and_types
use_range=use_range, loop_prep=loop_prep, **kwargs)
File "/usr/lib/python2.7/dist-packages/pyopencl/elementwise.py", line
108, in get_elwise_program
return Program(context, source).build(options)
File "/usr/lib/python2.7/dist-packages/pyopencl/__init__.py", line
141, in build
options = options + ["-I", _find_pyopencl_include_path()]
File "/usr/lib/python2.7/dist-packages/pyopencl/__init__.py", line
722, in _find_pyopencl_include_path
from pkg_resources import Requirement, resource_filename
ImportError: No module named pkg_resources
>>>
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org