post installation of the libraries using install.sh, while starting fast api using python src/main.py, it complains about missing dlls related to cupy(cudnn64_8.dll -> not found,,cuTENSOR.dll -> not found, nvcuda.dll -> not found)
complete error:
`Traceback (most recent call last):
File "C:\Users\Venkatesh Reddy\AppData\Local\Programs\Python\Python310\lib\site-packages\cupy_init_.py", line 17, in
from cupy import core # NOQA
File "C:\Users\Venkatesh Reddy\AppData\Local\Programs\Python\Python310\lib\site-packages\cupy_core_init.py", line 3, in
from cupy._core import core # NOQA
File "cupy_core\core.pyx", line 1, in init cupy.core.core
File "C:\Users\Venkatesh Reddy\AppData\Local\Programs\Python\Python310\lib\site-packages\cupy\cuda_init.py", line 8, in
from cupy.cuda import compiler # NOQA
File "C:\Users\Venkatesh Reddy\AppData\Local\Programs\Python\Python310\lib\site-packages\cupy\cuda\compiler.py", line 14, in
from cupy.cuda import function
File "cupy\cuda\function.pyx", line 1, in init cupy.cuda.function
File "cupy_core_carray.pyx", line 1, in init cupy._core._carray
File "cupy_core\internal.pyx", line 1, in init cupy._core.internal
File "cupy\cuda\memory.pyx", line 1, in init cupy.cuda.memory
ImportError: DLL load failed while importing driver: The specified module could not be found.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\Easystepin\KiseKloset\src\main.py", line 14, in
from api.tryon.router import router as tryon_router
File "D:\Easystepin\KiseKloset\src\api\tryon\router.py", line 9, in
from .service import TryonService
File "D:\Easystepin\KiseKloset\src\api\tryon\service_init_.py", line 9, in
from .dm_vton import DMVTON, get_transform
File "D:\Easystepin\KiseKloset\src\api\tryon\service\dm_vton_init_.py", line 1, in
import cupy
File "C:\Users\Venkatesh Reddy\AppData\Local\Programs\Python\Python310\lib\site-packages\cupy_init_.py", line 19, in
raise ImportError(f'''
ImportError:
Failed to import CuPy.
If you installed CuPy via wheels (cupy-cudaXXX or cupy-rocm-X-X), make sure that the package matches with the version of CUDA or ROCm installed.
On Linux, you may need to set LD_LIBRARY_PATH environment variable depending on how you installed CUDA/ROCm.
On Windows, try setting CUDA_PATH environment variable.
Check the Installation Guide for details:
https://docs.cupy.dev/en/latest/install.html
CUDA Path: C:\ProgramData\anaconda3\Library
DLL dependencies:
KERNEL32.dll -> C:\WINDOWS\System32\KERNEL32.DLL
MSVCP140.dll -> C:\WINDOWS\SYSTEM32\msvcp140.dll
VCRUNTIME140.dll -> C:\Python310\VCRUNTIME140.dll
api-ms-win-crt-convert-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
api-ms-win-crt-environment-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
api-ms-win-crt-filesystem-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
api-ms-win-crt-heap-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
api-ms-win-crt-runtime-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
api-ms-win-crt-stdio-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
cuTENSOR.dll -> not found
cublas64_11.dll -> C:\ProgramData\anaconda3\Library\bin\cublas64_11.dll
cudart64_110.dll -> C:\ProgramData\anaconda3\Library\bin\cudart64_110.dll
cudnn64_8.dll -> not found
cufft64_10.dll -> C:\ProgramData\anaconda3\Library\bin\cufft64_10.dll
curand64_10.dll -> C:\ProgramData\anaconda3\Library\bin\curand64_10.dll
cusolver64_11.dll -> C:\ProgramData\anaconda3\Library\bin\cusolver64_11.dll
cusparse64_11.dll -> C:\ProgramData\anaconda3\Library\bin\cusparse64_11.dll
nvcuda.dll -> not found
nvrtc64_112_0.dll -> C:\ProgramData\anaconda3\Library\bin\nvrtc64_112_0.dll
python310.dll -> C:\Python310\python310.dll
Original error:
ImportError: DLL load failed while importing driver: The specified module could not be found.
================================================================`