Andreas, thanks for the pointers!
I think the reason for the ImportError was the fact that I had python installed 
as portable and PYTHONPATH wasn't set. Thanks to your advice, I saw that 
dependencywalker found python35.dll not to be found.
Not sure if it made a difference but I also updated my setptoolspip install 
--upgrade setuptools
However, the compiler warnings and errors persisted! The unfound references to 
functions worry me the most but so far the very basic examples I've tested seem 
to run fine.
 I now look forward to using it on real projects!Thanks for your input!
By the way, I didn't manage to download the example files from the wiki using 
the script located in the shipped examples folder. Here's the error:
downloading  wiki examples from to 
wiki-examples/...fetching page list...Traceback (most recent call last):  File 
"<stdin>", line 1, in <module>  File 
 line 845, in runfile    execfile(filename, namespace)  File 
 line 103, in execfile    return self.__send(self.__name, args)  File 
"C:\WinPython-64bit-\python-3.5.2.amd64\lib\xmlrpc\", line 
1432, in __request    verbose=self.__verbose  File 
"C:\WinPython-64bit-\python-3.5.2.amd64\lib\xmlrpc\", line 
1134, in request    return self.single_request(host, handler, request_body, 
verbose)  File 
"C:\WinPython-64bit-\python-3.5.2.amd64\lib\xmlrpc\", line 
1167, in single_request    dict(resp.getheaders())xmlrpc.client.ProtocolError: 
<ProtocolError for 502 Bad Gateway>>>>     
exec(compile(, filename, 'exec'), namespace)  File 
 line 18, in <module>    all_pages = destwiki.getAllPages()  File 
"C:\WinPython-64bit-\python-3.5.2.amd64\lib\xmlrpc\", line 
1092, in __call__

> From:
> To:;
> Subject: RE: [PyCUDA] pycuda ImportError: DLL load failed: The specified 
> module could not be found.
> Date: Thu, 13 Oct 2016 19:35:52 -0500
> Daniel Gebreiter <> writes:
> > Andreas,thanks for the quick response. Here's the link to the gist, as
> > per your
> > request:
> > hope this works and helps resolving the issue!Thanks,Daniel
> This linker errors scream "compiler bug" to me, because it's an
> undefined reference to a function that's actually defined. Are you able
> to try a different version of the compiler? On the other hand, these
> errors may be a red herring.
> Could you try Dependency Walker [1] on the pycuda module (_driver.pyd or
> so) to see what's actually going on, and what module (if any) is
> actually missing?
> Andreas
> [1]
PyCUDA mailing list

Reply via email to