Hello Everyone, I had a working installation of pycuda. However, after running updates on my Ubuntu machine; import pycuda.driver as cuda fails. ( I had also updated my anaconda install and updated all packages that anaconda found that required updates )
When I try running " import pycuda.driver " through jupyter notebook I get the following error message. Followed by a kernel crash -------------------------------------------------------------------------- [I 10:02:37.765 NotebookApp] Adapting to protocol v5.1 for kernel 5fee93d7-62cf-468a-bcb0-b48e6f1d0987 terminate called after throwing an instance of 'std::runtime_error' what(): numpy failed to initialize [I 10:02:43.117 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports kernel 5fee93d7-62cf-468a-bcb0-b48e6f1d0987 restarted -------------------------------------------------------------------------- It seems numpy fails to initialize. However if I try to import numpy independently, it passes successfully. My guess is that when I ran the updates it updated something that caused this. The installation for pycuda was done by "pip install pycuda" I even tried uninstalling via pip uninstall pycuda followed by pip install pycuda. But I still get the same error. I though this might force pycuda to rebuild with the newer versions of python/numpy. Current installation versions: python is 3.6 numpy is 1.13.3 pycuda is 2017.1.1 gcc 4.8.4 ubuntu 14.04.4 I have tried searching through the archives for a solution to this. So I hope someone will be able to help. Thanks -Suri
_______________________________________________ PyCUDA mailing list [email protected] https://lists.tiker.net/listinfo/pycuda
