olay...@gmail.com writes: > I installed pycuda by downloading .whl file. > > When I run the command : > > import pycuda.gpuarray as gpuarray > > I get the below error: > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "C:\Anaconda\lib\site-packages\pycuda\gpuarray.py", line 4, in <module> > import pycuda.elementwise as elementwise > File "C:\Anaconda\lib\site-packages\pycuda\elementwise.py", line 35, in > <module> > from pycuda.tools import context_dependent_memoize > File "C:\Anaconda\lib\site-packages\pycuda\tools.py", line 34, in <module> > import pycuda.driver as cuda > File "C:\Anaconda\lib\site-packages\pycuda\driver.py", line 6, in <module> > from pycuda._driver import * # noqa > ModuleNotFoundError: No module named 'pycuda._driver' > > The folder has "_driver.cp37-win_amd64.pyd" file but not pycuda._driver file. > _______________________________________________ > PyCUDA mailing list -- pycuda@tiker.net > To unsubscribe send an email to pycuda-le...@tiker.net >
Use the tool "Dependency Walker" on _driver.cp37-win_amd64.pyd to see what DLLs you're missing. Do you have the CUDA drivers installed? Andreas
signature.asc
Description: PGP signature
_______________________________________________ PyCUDA mailing list -- pycuda@tiker.net To unsubscribe send an email to pycuda-le...@tiker.net