Dear Gisele, > Le 14 nov. 2018 à 19:30, V Amo BTS <gisele.lima.cama...@gmail.com> a écrit : > I got an import error after installing nvidia toolkit and cuda, using spyder: > > ImportError: /usr/local/cuda-10.0/targets/x86_64-linux/lib/libOpenCL.so.1: > version `OPENCL_2.1' not found (required by > /usr/lib/python3/dist-packages/pyopencl/_cffi.abi3.so <http://cffi.abi3.so/>) > > Spyder 4.0.0b1 > Python 3.6.6 64bits, Qt 5.9.3, PyQt5 5.9.2 on Linux > > Since I have no experience installing these programs. Can anyone help me, > please?
This probably means that you have OpenCL headers advertising version 2.1, but a CUDA driver which only supports 1.2. What Linux version are you using ? What is the source for the CUDA 10 installation ? What are the OpenCL packages installed ? See a bug report (now closed) from a few months ago: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889287 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889287> Best wishes, — Vincent Favre-Nicolin
_______________________________________________ PyOpenCL mailing list PyOpenCL@tiker.net https://lists.tiker.net/listinfo/pyopencl