dynamo-release icon indicating copy to clipboard operation
dynamo-release copied to clipboard

ModuleNotFoundError: No module named 'hnswlib' when running dyn.tl.cell_velocities(adata_hsc_raw)

Open Jingle0814 opened this issue 1 year ago • 2 comments
trafficstars

Hi, Thank you to your team for developing dynamo, I encountered an error while running dynamo. I installed the latest version of dynamo(pip install git+https://github.com/aristoteleo/dynamo-release@master) and follow the Typical workflow in dyamo Tutorial: image When I ran dyn.tl.cell_velocities(adata_hsc_raw) it turns :ModuleNotFoundError: No module named 'hnswlib'

image By the way, previously I ran dynamo with version 1.3.2 it is normal. How do I solve it? Thanks a lot!

Jingle0814 avatar Dec 06 '23 06:12 Jingle0814

Thank you for reporting this issue. This seems to be a bug in the latest version of Dynamo. hnswlib is an awesome package we added recently for faster nearest neighbors calculation. I will set it to be an optional dependency to address the issue. Before that, you can just install hnswlib.

Sichao25 avatar Dec 06 '23 21:12 Sichao25

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days

github-actions[bot] avatar Mar 06 '24 00:03 github-actions[bot]