[PyCUDA] Re: Pycuda error in windows 10 Python 3.7.3 Cuda9.0

2019-06-07 Thread Andreas Kloeckner
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 "", line 1, in 
>   File "C:\Anaconda\lib\site-packages\pycuda\gpuarray.py", line 4, in 
> import pycuda.elementwise as elementwise
>   File "C:\Anaconda\lib\site-packages\pycuda\elementwise.py", line 35, in 
> 
> from pycuda.tools import context_dependent_memoize
>   File "C:\Anaconda\lib\site-packages\pycuda\tools.py", line 34, in 
> import pycuda.driver as cuda
>   File "C:\Anaconda\lib\site-packages\pycuda\driver.py", line 6, in 
> 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


[PyCUDA] Pycuda error in windows 10 Python 3.7.3 Cuda9.0

2019-06-07 Thread olaycab
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 "", line 1, in 
  File "C:\Anaconda\lib\site-packages\pycuda\gpuarray.py", line 4, in 
import pycuda.elementwise as elementwise
  File "C:\Anaconda\lib\site-packages\pycuda\elementwise.py", line 35, in 

from pycuda.tools import context_dependent_memoize
  File "C:\Anaconda\lib\site-packages\pycuda\tools.py", line 34, in 
import pycuda.driver as cuda
  File "C:\Anaconda\lib\site-packages\pycuda\driver.py", line 6, in 
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