Add UMAP to julia

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,

1 Like

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.

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

3 Likes

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

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

1 Like