[PyCUDA] Re: returned a result with an error set

2019-07-19 Thread Ziqiao Ao
Hi David, Thank you for your reply! For my case, the problem came from numpy. I updated it, and the problem solved. I will keep your advice in my mind in case of hitting the same problem after updating python. Thank you anyway! Ziqiao ___ PyCUDA

[PyCUDA] Re: returned a result with an error set

2019-07-19 Thread Ziqiao Ao
Hi Andreas, Thank you for the advice! That was a big hit and I fixed the problem. In fact, I have numpy on my machine, but it looks like the version was too old for the version of pycuda I installed. The version of my numpy was 1.12.1 and I replaced it with 1.17.0, and the problem solved.

[PyCUDA] Re: returned a result with an error set

2019-07-17 Thread David G Grier
Hi Ziqiao, A System Error is a C-level error and suggests that python itself is having a problem. In short, this is never supposed to happen. I ran into the same problem recently after upgrading my installation of python from 3.7.3 to 3.7.4. Downgrading to 3.7.3 fixed it for me. For me, this

[PyCUDA] Re: returned a result with an error set

2019-07-17 Thread Andreas Kloeckner
Hi Ziqiao, Do you have numpy installed on your machine? That's the only thing I can think of as getting imported during import of the PyCUDA module. I've not seen that error before---have you tried building from source? Or using Christoph Gohlke's binaries? Andreas z...@asagi.waseda.jp writes: