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 http://wiki.tiker.net/PyCuda/Examples to 
wiki-examples/...fetching page list...Traceback (most recent call last):  File 
"<stdin>", line 1, in <module>  File 
"C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py",
 line 845, in runfile    execfile(filename, namespace)  File 
"C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py",
 line 103, in execfile    return self.__send(self.__name, args)  File 
"C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\xmlrpc\client.py", line 
1432, in __request    verbose=self.__verbose  File 
"C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\xmlrpc\client.py", line 
1134, in request    return self.single_request(host, handler, request_body, 
verbose)  File 
"C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\xmlrpc\client.py", line 
1167, in single_request    dict(resp.getheaders())xmlrpc.client.ProtocolError: 
<ProtocolError for wiki.tiker.net/?action=xmlrpc2: 502 Bad Gateway>>>>     
exec(compile(f.read(), filename, 'exec'), namespace)  File 
"C:/WinPython-64bit-3.5.2.2Qt5/libs/pycuda-2016.1.2/examples/download-examples-from-wiki.py",
 line 18, in <module>    all_pages = destwiki.getAllPages()  File 
"C:\WinPython-64bit-3.5.2.2Qt5\python-3.5.2.amd64\lib\xmlrpc\client.py", line 
1092, in __call__

> From: li...@informa.tiker.net
> To: dgebrei...@hotmail.com; pycuda@tiker.net
> 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 <dgebrei...@hotmail.com> writes:
> > Andreas,thanks for the quick response. Here's the link to the gist, as
> > per your
> > request:https://gist.github.com/anonymous/204d33ca84a211b2323fa9d8886d0371I
> > 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] https://en.wikipedia.org/wiki/Dependency_Walker
                                          
_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
https://lists.tiker.net/listinfo/pycuda

Reply via email to