Problem Installing CUDA_Runtime

Hey guys, my first time posting in this forum, see please forgive me in advance for any bad practices related to the way I will describe this problem.

I am currently trying to install CUDA.jl in my computer, however, I am receiving the following error message after the pkg manager tries to download and install the CUDA_Runtime component

I am currently using the lastest version of Julia 1.10.5 (at the time), I have a NVIDIA RTX4090 GPU, and Windows 11 OS.

Any help or insights will be very welcome and appreciated.

ERROR: Unable to automatically download/install artifact ‘CUDA_Runtime’ from sources listed in ‘C:\Users\leohe.julia\packages\CUDA_Runtime_jll\YgJCI\Artifacts.toml’.
Sources attempted:

  • https://pkg.julialang.org/artifact/81e017d7fb180420054a3d5bcf9e3ca371e1eea1
    Error: failed process: Process(setenv('C:\Users\leohe\AppData\Local\Programs\Julia-1.10.5\libexec\julia\7z.exe' x 'C:\Users\leohe\AppData\Local\Temp\jl_ojkfwzSdYf-download.gz' -so,[“PROCESSOR_ARCHITECTURE=AMD64”, “WINDIR=C:\WINDOWS”, “PATH=C:\Users\leohe\AppData\Local\Programs\Julia-1.10.5\bin\…\lib\julia;C:\Users\leohe\AppData\Local\Programs\Julia-1.10.5\bin\…\lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\leohe\AppData\Local\Microsoft\WindowsApps;C:\Users\leohe\AppData\Local\Programs\Microsoft VS Code\bin”, “USERDOMAIN_ROAMINGPROFILE=PC_LEONARDO”, “USERNAME=leohe”, “LOCALAPPDATA=C:\Users\leohe\AppData\Local”, “HOMEPATH=\Users\leohe”, “PROGRAMFILES(X86)=C:\Program Files (x86)”, “PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 183 Stepping 1, GenuineIntel”, “NUMBER_OF_PROCESSORS=32”, “PROGRAMFILES=C:\Program Files”, “PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC”, “SESSIONNAME=Console”, “LOGONSERVER=\\PC_LEONARDO”, “APPDATA=C:\Users\leohe\AppData\Roaming”, “=::=::\”, “DRIVERDATA=C:\Windows\System32\Drivers\DriverData”, “COMMONPROGRAMW6432=C:\Program Files\Common Files”, “ONEDRIVECONSUMER=C:\Users\leohe\OneDrive”, “PROGRAMDATA=C:\ProgramData”, “PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules”, “PUBLIC=C:\Users\Public”, “OS=Windows_NT”, “EFC_8252=1”, “PROCESSOR_REVISION=b701”, “SYSTEMROOT=C:\WINDOWS”, “TMP=C:\Users\leohe\AppData\Local\Temp”, “USERDOMAIN=PC_LEONARDO”, “USERPROFILE=C:\Users\leohe”, “PROCESSOR_LEVEL=6”, “COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files”, “COMSPEC=C:\WINDOWS\system32\cmd.exe”, “OPENBLAS_DEFAULT_NUM_THREADS=1”, “SYSTEMDRIVE=C:”, “ALLUSERSPROFILE=C:\ProgramData”, “PROGRAMW6432=C:\Program Files”, “TEMP=C:\Users\leohe\AppData\Local\Temp”, “HOMEDRIVE=C:”, “COMMONPROGRAMFILES=C:\Program Files\Common Files”, “COMPUTERNAME=PC_LEONARDO”, “OPENBLAS_MAIN_FREE=1”, “ONEDRIVE=C:\Users\leohe\OneDrive”]), ProcessExited(2)) [2]

Do you have an antivirus which is blocking 7z?

Hello @giordano , thanks for the reply . I currently have only the native windows security application. I tried adding the 7z file as an exclusion for the virus scan, but i dind’t work, unfortunately. Can you think of other possibilities ?

Hey guys, I was able to solve the error, in case anyone is having the same problem. It was indeed the antivirus (the native Windows Defender) blocking the execution. However, instead of only adding an exclusion, i had to temporarily disable the whole virus protection in order for the installation to complete.