Executing the code → import pycuda.driver as cuda uynder jupyther notebook in pytorch code an error is encountered .
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.
And also this error:
ImportError: DLL load failed while importing _driver: Impossibile trovare il modulo specificato.
What should I do?
Did you do any of those things: