Umap: Problem with import umap.plot

Created on 25 Feb 2020  路  5Comments  路  Source: lmcinnes/umap

After installing UMAP still

ModuleNotFoundError: No module named 'umap.plot'

Most helpful comment

You need to install the pre-release version at this time. You can do that via:

pip install --pre umap-learn

You can check that you have the right version by ensuring that you have umap-learn 0.4.0rc1.

All 5 comments

Maybe missing package? Documentation says:

The umap.plot package requires extra plotting libraries to be installed.
You can install these via pip using

pip install umap-learn[plot]

or via conda using

conda install seaborn datashader bokeh holoviews

I have the same problem. All requirements for plotting and umap itself are installed.
pip install umap-learn[plot] gives:

Collecting umap-learn[plot]
  umap-learn 0.3.10 does not provide the extra 'plot'
... [the list of satisfied requirements follows]...
Installing collected packages: umap-learn
Successfully installed umap-learn-0.3.10

Please note the second line.

Plus!!! I have the same problem and I was very upset when a few days ago, I could not find it!

You need to install the pre-release version at this time. You can do that via:

pip install --pre umap-learn

You can check that you have the right version by ensuring that you have umap-learn 0.4.0rc1.

Thank you! It did work for me!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrewluetgers picture andrewluetgers  路  3Comments

hmswaffles picture hmswaffles  路  6Comments

gclen picture gclen  路  4Comments

dribnet picture dribnet  路  5Comments

gabritaglia picture gabritaglia  路  5Comments