tkonopka/umap

method = "python" does not work

Closed this issue · 1 comments

I installed reticulate in R and umap with pip, now I get the following error:

> umap:::python.umap
Module(umap)
> umap(iris[1:4], method = "python")
Error in py_get_attr_impl(x, name, silent) : 
  AttributeError: module 'umap' has no attribute 'UMAP'

I just fixed it, the problem was that I installed umap and umap-learn with pip and python got confused, I deleted umap and now everything seems to work.