ImportError: umap.plot requires matplotlib, datashader, colorcet and holoviews to be installed
See original GitHub issueInstall umap using below commands:
pip install umap-learn
pip install "umap-learn[plot]"
and they run successfully.
but when I import umap.plot
, it occurs:
But actually, these packages matplotlib, datashader, colorcet and holoviews
have been installed.
so what I should do to fix this error?
Big thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
How to resolve the error, "module umap has no attribute ...
To use UMAP you need to install umap-learn not umap . ... And then in your python code make sure you are importing...
Read more >解决ImportError: umap.plot requires pandas matplotlib datashader ...
ImportError : umap.plot requires pandas matplotlib datashader bokeh holoviews scikit-image and colorcet to be installed问题原因:我在使用umap库时发现报出该 ...
Read more >umap/plot.py | Coveralls - Test Coverage History & Statistics
1 import numpy as np 1×
2 import numba 1×
3 from warnings import warn 1×
5 try: 1×
Read more >Geoviews ImportError: Numba needs NumPy 1.21 or less
I am using the Arm MAC with python version 3.9. ... It would help to know what version of GeoViews you have and...
Read more >umap.plot requires pandas matplotlib ... - Fix Exception
Full details: ImportError: umap.plot requires pandas matplotlib datashader bokeh holoviews scikit-image and colorcet to be installed.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi!
A suggestion, not solution. I got this error in my jupyter notebook as well. The problem was with importing holoviews. But since, thats not your issue: This is the code that from which the error is being raised. You could try executing this code and see if you could find any error. It may not solve your problem, but give it a shot.
import pandas as pd import datashader as ds import datashader.transfer_functions as tf import datashader.bundling as bd import matplotlib.pyplot as plt import colorcet import matplotlib.colors import matplotlib.cm import bokeh.plotting as bpl import bokeh.transform as btr import holoviews as hv import holoviews.operation.datashader as hd
I had the same issue and had to install the
imgcat
package as well.