How to resolve the error, “module umap has no attribute UMAP”.. I tried installing & reinstalling umap but didn’t work to me

To use UMAP you need to install umap-learn not umap.
So, in case you installed umap run the following commands to uninstall umap and install upam-learn instead:

pip uninstall umap
pip install umap-learn

And then in your python code make sure you are importing the module using:

import umap.umap_ as umap

Instead of

import umap

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)