# Can not install CUDAnative

**URL:** <https://discourse.julialang.org/t/can-not-install-cudanative/35925>\
**Category:** GPU\
**Created:** [March 13, 2020, 1:06pm UTC](https://discourse.julialang.org/t/can-not-install-cudanative/35925 "2020-03-13T13:06:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbacelar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sbacelar/32/4359_2.png) [@sbacelar](https://discourse.julialang.org/u/sbacelar)\
**Post date:** [March 13, 2020, 1:06pm UTC](https://discourse.julialang.org/t/can-not-install-cudanative/35925/1 "2020-03-13T13:06:37Z")

</div>

GPU newbie here (Julia 1.3.1 and Windows 10). I have been able to install `CUDAdrv v6.1.0` but when I try to install `CUDAnative` (and also `CuArrays`) I receive the following error:

```julia
(v1.3) pkg> add CUDAnative
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package CUDAapi [3895d2a7]:
 CUDAapi [3895d2a7] log:
 ├─possible versions are: [0.5.0-0.5.4, 0.6.0-0.6.3, 1.0.0-1.0.1, 1.1.0, 1.2.0, 2.0.0, 2.1.0, 3.0.0, 3.1.0, 4.0.0] or uninstalled
 ├─restricted by compatibility requirements with CUDAdrv [c5f51814] to versions: 4.0.0
 │ └─CUDAdrv [c5f51814] log:
 │ ├─possible versions are: [0.8.0-0.8.6, 0.9.0, 1.0.0-1.0.1, 2.0.0, 3.0.0-3.0.1, 3.1.0, 4.0.0-4.0.4, 5.0.0-5.0.1, 5.1.0, 6.0.0-6.0.1, 6.1.0] or uninstalled
 │ └─restricted to versions 6.1.0 by an explicit requirement, leaving only versions 6.1.0
 └─restricted by compatibility requirements with CUDAnative [be33ccc6] to versions: [3.0.0, 3.1.0] — no versions left └─CUDAnative [be33ccc6] log:
     ├─possible versions are: [0.7.0, 0.8.0-0.8.10, 0.9.0-0.9.1, 0.10.0-0.10.1, 1.0.0-1.0.1, 2.0.0-2.0.1, 2.1.0-2.1.3, 2.2.0-2.2.1, 2.3.0-2.3.1, 2.4.0, 2.5.0-2.5.5, 2.6.0, 2.7.0, 2.8.0-2.8.1, 2.9.0-2.9.1, 2.10.0-2.10.2] or uninstalled ├─restricted to versions * by an explicit requirement, leaving only versions [0.7.0, 0.8.0-0.8.10, 0.9.0-0.9.1, 0.10.0-0.10.1, 1.0.0-1.0.1, 2.0.0-2.0.1, 2.1.0-2.1.3, 2.2.0-2.2.1, 2.3.0-2.3.1, 2.4.0, 2.5.0-2.5.5, 2.6.0, 2.7.0, 2.8.0-2.8.1, 2.9.0-2.9.1, 2.10.0-2.10.2]
     └─restricted by compatibility requirements with CUDAdrv [c5f51814] to versions: 2.10.0-2.10.2 or uninstalled, leavi └─CUDAdrv [c5f51814] log: see above

```

---

<div class="post-metadata">

**Author:** ![maleadt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maleadt/32/10097_2.png) [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Post date:** [March 13, 2020, 1:17pm UTC](https://discourse.julialang.org/t/can-not-install-cudanative/35925/2 "2020-03-13T13:17:35Z")

</div>

That’s because the latest version of CUDAdrv isn’t compatible with the rest of the stack yet, and Pkg refuses to downgrade. Try removing CUDAdrv and starting by installing CuArrays – that will automatically install compatible versions of CUDAdrv and CUDAnative. Doing `add CUDAdrv` afterwards will just make it possible to import those packages, without installing a different version.

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [March 13, 2020, 1:30pm UTC](https://discourse.julialang.org/t/can-not-install-cudanative/35925/3 "2020-03-13T13:30:36Z")

</div>

> [@maleadt](#):
>
> and Pkg refuses to downgrade.

FWIW, It should downgrade on 1.4.
