koaning/whatlies

Umap install not working

nateGeorge opened this issue · 2 comments

When using whatlies 0.6.3 with pip install whatlies[all] and trying to use Umap, I get:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[99], line 2
      1 from whatlies.transformers import Umap
----> 2 pca_plot = emb.transform(Umap(2)).plot_interactive(annot=False)

File ~/workspace/.conda_envs/py39/lib/python3.9/site-packages/whatlies/error.py:22, in NotInstalled.__call__(self, *args, **kwargs)
     21 def __call__(self, *args, **kwargs):
---> 22     raise ModuleNotFoundError(self.msg)

ModuleNotFoundError: In order to use Umap you'll need to install via;

pip install whatlies[umap]

See installation guide here: https://koaning.github.io/whatlies/#installation.

I'm trying this snippet from the examples:

from whatlies.transformers import Umap
pca_plot = emb.transform(Umap(2)).plot_interactive(annot=False)

Strange. On the 0.7.0 setup file it seems like the umap deps are part of the all_deps. Could you try that?

Hmm ok. I also wasn't able to get umap-learn working without using a different source for the repo than pypi, so maybe something else with the linux environment I was using.