# Problem Installing CUDA\_Runtime

**URL:** https://discourse.julialang.org/t/problem-installing-cuda-runtime/118966
**Category:** General Usage
**Tags:** bug
**Created:** [September 2, 2024, 9:33pm UTC](https://discourse.julialang.org/t/problem-installing-cuda-runtime/118966 "2024-09-02T21:33:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![leoherz](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@leoherz](https://discourse.julialang.org/u/leoherz)
#### Post date: [September 2, 2024, 9:33pm UTC](https://discourse.julialang.org/t/problem-installing-cuda-runtime/118966/1 "2024-09-02T21:33:20Z")

</div>

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](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](http://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]

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [September 2, 2024, 10:54pm UTC](https://discourse.julialang.org/t/problem-installing-cuda-runtime/118966/2 "2024-09-02T22:54:11Z")

</div>

Do you have an antivirus which is blocking 7z?

---

<div class="post-metadata">

### Author: ![leoherz](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@leoherz](https://discourse.julialang.org/u/leoherz)
#### Post date: [September 3, 2024, 12:07am UTC](https://discourse.julialang.org/t/problem-installing-cuda-runtime/118966/3 "2024-09-03T00:07:33Z")

</div>

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 ?

---

<div class="post-metadata">

### Author: ![leoherz](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@leoherz](https://discourse.julialang.org/u/leoherz)
#### Post date: [September 22, 2024, 9:14pm UTC](https://discourse.julialang.org/t/problem-installing-cuda-runtime/118966/4 "2024-09-22T21:14:35Z")

</div>

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.
