# Add UMAP to julia

**URL:** <https://discourse.julialang.org/t/add-umap-to-julia/49813>\
**Category:** General Usage\
**Created:** [November 9, 2020, 12:25am UTC](https://discourse.julialang.org/t/add-umap-to-julia/49813 "2020-11-09T00:25:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhavinmoriya](https://avatars.discourse-cdn.com/v4/letter/b/e68b1a/32.png) [@bhavinmoriya](https://discourse.julialang.org/u/bhavinmoriya)\
**Post date:** [November 9, 2020, 12:25am UTC](https://discourse.julialang.org/t/add-umap-to-julia/49813/1 "2020-11-09T00:25:25Z")

</div>

Hi,  
I was trying to add the package UMAP, while doing so, the following message showed up,  
RROR: Unsatisfiable requirements detected for package Distances [b4f34e82]:  
Distances [b4f34e82] log:  
├─possible versions are: [0.7.0-0.7.4, 0.8.0-0.8.2, 0.9.0-0.9.2, 0.10.0] or uninstalled  
├─restricted to versions 0.9.2 by an explicit requirement, leaving only versions 0.9.2  
└─restricted by compatibility requirements with UMAP [c4f8c510] to versions: [0.7.0-0.7.4, 0.8.0-0.8.2] — no versions left  
└─UMAP [c4f8c510] log:  
├─possible versions are: 0.1.0-0.1.8 or uninstalled  
├─restricted to versions \* by an explicit requirement, leaving only versions 0.1.0-0.1.8  
└─restricted by julia compatibility requirements to versions: 0.1.0-0.1.4 or uninstalled, leaving only versions: 0.1.0-0.1.4

I use UBUNTU 20.4.

If anyone could be of any help, I will appreciate it.

cheers,

---

<div class="post-metadata">

**Author:** ![anon92994695](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Post date:** [November 9, 2020, 1:21am UTC](https://discourse.julialang.org/t/add-umap-to-julia/49813/2 "2020-11-09T01:21:24Z")

</div>

This is a compatibility issue. Basically, UMAP is requiring a version of Distances.jl that conflicts with what you have installed.

One thing you could try to do is remove Distances.jl from your environment then try to reinstall.

---

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [November 9, 2020, 1:32am UTC](https://discourse.julialang.org/t/add-umap-to-julia/49813/3 "2020-11-09T01:32:58Z")

</div>

Once you learn to read the messages, they are very informative and it becomes pretty clear how to fix the problem: [3. Managing Packages · Pkg.jl](https://julialang.github.io/Pkg.jl/v1/managing-packages/#conflicts-1)

---

<div class="post-metadata">

**Author:** ![bhavinmoriya](https://avatars.discourse-cdn.com/v4/letter/b/e68b1a/32.png) [@bhavinmoriya](https://discourse.julialang.org/u/bhavinmoriya)\
**Post date:** [November 9, 2020, 2:43pm UTC](https://discourse.julialang.org/t/add-umap-to-julia/49813/4 "2020-11-09T14:43:43Z")

</div>

HI,  
I appreciate it. I tried as you said but did not work unfortunately. It causes conflict again with LSqFit.

---

<div class="post-metadata">

**Author:** ![bhavinmoriya](https://avatars.discourse-cdn.com/v4/letter/b/e68b1a/32.png) [@bhavinmoriya](https://discourse.julialang.org/u/bhavinmoriya)\
**Post date:** [November 9, 2020, 2:44pm UTC](https://discourse.julialang.org/t/add-umap-to-julia/49813/5 "2020-11-09T14:44:52Z")

</div>

Thanks, Tim. I have gone through the link and enjoyed it. I will try to implement your suggestion and see.
