scikit-learn-contrib / hdbscan

A high performance implementation of HDBSCAN clustering.
http://hdbscan.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
2.81k stars 506 forks source link

Tests failed with: No module named 'hdbscan._hdbscan_linkage' #613

Open plaume8 opened 1 year ago

plaume8 commented 1 year ago

Installed the hdbscan package from scratch as follows:

When executing python -m nose -s hdbscan:

Finished processing dependencies for hdbscan==0.8.33
(DS) root@LSND-base:~/code/hdbscan-master# python -m nose -s hdbscan
Traceback (most recent call last):
  File "/root/miniconda3/envs/DS/lib/python3.10/site-packages/nose/loader.py", line 417, in loadTestsFromName
    module = self.importer.importFromPath(
  File "/root/miniconda3/envs/DS/lib/python3.10/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/root/miniconda3/envs/DS/lib/python3.10/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/root/miniconda3/envs/DS/lib/python3.10/imp.py", line 245, in load_module
    return load_package(name, filename)
  File "/root/miniconda3/envs/DS/lib/python3.10/imp.py", line 217, in load_package
    return _load(spec)
  File "<frozen importlib._bootstrap>", line 719, in _load
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/root/code/hdbscan-master/hdbscan/__init__.py", line 1, in <module>
    from .hdbscan_ import HDBSCAN, hdbscan
  File "/root/code/hdbscan-master/hdbscan/hdbscan_.py", line 20, in <module>
    from ._hdbscan_linkage import (
ModuleNotFoundError: No module named 'hdbscan._hdbscan_linkage'

Thank you for your support and effort!