Public bug reported: Pyopencl doesn't work on raging, the following error message is generated:
Python 2.7.4 (default, Apr 19 2013, 18:32:33) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pyopencl Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/pyopencl/__init__.py", line 4, in <module> import pyopencl._cl as _cl ImportError: /usr/lib/python2.7/dist-packages/pyopencl/_cl.so: symbol clRetainDevice, version OPENCL_1.2 not defined in file libOpenCL.so.1 with link time reference I am using the following drivers: adrian@toad:~$ dpkg -l | grep nvidia ii nvidia-304-updates 304.88-0ubuntu2 i386 NVIDIA binary Xorg driver, kernel module and VDPAU library ii nvidia-cg-dev:i386 3.1.0013-1 i386 Cg Toolkit - GPU Shader Authoring Language (headers) ii nvidia-cg-toolkit 3.1.0013-1 i386 Cg Toolkit - GPU Shader Authoring Language ii nvidia-common 1:0.2.76 i386 transitional package for ubuntu-drivers-common ii nvidia-settings-304-updates 304.88-0ubuntu1 i386 Tool for configuring the NVIDIA graphics driver ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: python-pyopencl 2012.1-1ubuntu4 ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8 Uname: Linux 3.8.0-19-generic i686 NonfreeKernelModules: nvidia ApportVersion: 2.9.2-0ubuntu8 Architecture: i386 Date: Mon Apr 29 09:56:38 2013 MarkForUpload: True ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_ZA.UTF-8 SHELL=/bin/bash SourcePackage: pyopencl UpgradeStatus: Upgraded to raring on 2013-04-27 (1 days ago) ** Affects: pyopencl (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 raring ** Description changed: Pyopencl doesn't work on raging, the following error message is generated: - Python 2.7.4 (default, Apr 19 2013, 18:32:33) + Python 2.7.4 (default, Apr 19 2013, 18:32:33) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pyopencl Traceback (most recent call last): - File "<stdin>", line 1, in <module> - File "/usr/lib/python2.7/dist-packages/pyopencl/__init__.py", line 4, in <module> - import pyopencl._cl as _cl + File "<stdin>", line 1, in <module> + File "/usr/lib/python2.7/dist-packages/pyopencl/__init__.py", line 4, in <module> + import pyopencl._cl as _cl ImportError: /usr/lib/python2.7/dist-packages/pyopencl/_cl.so: symbol clRetainDevice, version OPENCL_1.2 not defined in file libOpenCL.so.1 with link time reference + + I am using the following drivers: + adrian@toad:~$ dpkg -l | grep nvidia + ii nvidia-304-updates 304.88-0ubuntu2 i386 NVIDIA binary Xorg driver, kernel module and VDPAU library + ii nvidia-cg-dev:i386 3.1.0013-1 i386 Cg Toolkit - GPU Shader Authoring Language (headers) + ii nvidia-cg-toolkit 3.1.0013-1 i386 Cg Toolkit - GPU Shader Authoring Language + ii nvidia-common 1:0.2.76 i386 transitional package for ubuntu-drivers-common + ii nvidia-settings-304-updates 304.88-0ubuntu1 i386 Tool for configuring the NVIDIA graphics driver + ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: python-pyopencl 2012.1-1ubuntu4 ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8 Uname: Linux 3.8.0-19-generic i686 NonfreeKernelModules: nvidia ApportVersion: 2.9.2-0ubuntu8 Architecture: i386 Date: Mon Apr 29 09:56:38 2013 MarkForUpload: True ProcEnviron: - TERM=xterm - PATH=(custom, no user) - XDG_RUNTIME_DIR=<set> - LANG=en_ZA.UTF-8 - SHELL=/bin/bash + TERM=xterm + PATH=(custom, no user) + XDG_RUNTIME_DIR=<set> + LANG=en_ZA.UTF-8 + SHELL=/bin/bash SourcePackage: pyopencl UpgradeStatus: Upgraded to raring on 2013-04-27 (1 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1174205 Title: Using pyopencl doesn't work and spits our ImportError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pyopencl/+bug/1174205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs