Installing Pycuda On Windows 10 #332
Replies: 5 comments
-
This problem is solved by adding CUDA_PATH as an independent path variable, instead of adding it to PATH |
Beta Was this translation helpful? Give feedback.
-
I'm guessing this applies after the package is installed. Further, the message you give is a warning, not an error. Could you be clearer on what actually goes wrong when you don't have |
Beta Was this translation helpful? Give feedback.
-
Sorry for the inconvinience, I was trying to run a test file, there were a lot of cuda.h errors occuring. File "D:\Programming Apps\Python\Python38\lib\os.py", line 1109, in add_dll_directory There are very few resources on installing pycuda on Windows 10, I think it would be best for you to create a windows 10 installation tutorial if you could. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am user of pycuda. I wrote a tutorial for windows 10 installation. http://jyhmiinlin.github.io/pynufft/installation/Windows.html Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
The very same error happens here. CUDA 11.5, 10.2 and pycuda 2021, 2020 and 2019 no combination works (python fixed to 3.6.9) under win10.
**cause of the error found: ** https://github.com/lucasgDependencies showed, that |
Beta Was this translation helpful? Give feedback.
-
Hello, I installed pycuda on my machine successfully, after installing visual studio c++ 14.0
However even if I can call nvcc from shell pycuda can not locate Cuda or nvcc.
Is there a up-to-date installation procedure in Windows 10 for pycuda?
I searched the internet and also looked into wiki page, however I couldn't find working installation for Windows 10.
Wiki page:
https://wiki.tiker.net/PyCuda/Installation/Windows
Error:
import pycuda.driver as drv
D:\Programming Apps\Python\Python38\lib\site-packages\pycuda\driver.py:43: UserWarning: Unable to discover CUDA installation directory while attempting to add it to Python's DLL path. Either set the 'CUDA_PATH' environment variable or ensure that 'nvcc.exe' is on the path.
warn("Unable to discover CUDA installation directory "
Beta Was this translation helpful? Give feedback.
All reactions