lmcinnes / lmcinnes/umap

ImportError: cannot import name 'initialized_nnd_search'

Open
#385 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.3k
Forks
871
Avg merge
1d 13h
Merged PRs (30d)
5

Description

`ImportError: cannot import name 'initialized_nnd_search' from 'umap.nndescent' (/opt/anaconda3/lib/python3.7/site-packages/umap/nndescent.py)`

I uninstalled umap (the one I got from conda)
then I updated all my packages with `conda update --all`
then I used `pip install git+https://github.com/lmcinnes/umap.git`

Now I have this error..Any ideas?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the import failure after the reported conda update and pip installation, then inspect the installed umap.nndescent module and package versions involved. Done means the reported import succeeds in the described environment or the incompatibility is documented with a clear resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.