解决ImportError: umap.plot requires pandas matplotlib datashader bokeh holoviews scikit-image and colo

在这里插入图片描述

ImportError: umap.plot requires pandas matplotlib datashader bokeh holoviews scikit-image and colorcet to be installed

问题原因:
我在使用umap库时发现报出该问题,原因是umap需要依赖这些包,需要pip安装这些包,但是我的问题是我看了一下这些包我都有,但是还报这个问题,后来发现是版本不对应,umap需要依赖新版的这些库文件,我的一些包的版本较低

解决办法:
将已有这些包卸载,安装umap需要依赖的新版库文件

猜你喜欢

转载自blog.csdn.net/m0_47256162/article/details/122505866