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.77k stars 496 forks source link

install hdbscan #143

Open tatianaosokin opened 6 years ago

tatianaosokin commented 6 years ago

I tried to install hdbscan with "pip install hdbscan". I use anaconda3. I get next error: Failed building wheel for hdbscan It seems that a file is missing , since it can't find a file io.h that apparently should be in anaconda3\include folder. Where can I get this file? Should I reinstall anaconda? Or use something else?

lmcinnes commented 6 years ago

I'm not sure what is going wrong there, but I would strongly suggest you try:

conda install -c conda-forge hdbscan

instead, since that should "just work" if you are working with anaconda. Please let me know if you are still having issues however, and we can try to work out a solution.

redafekry commented 3 years ago

File "C:\Users\Reda\Anaconda3\lib\site-packages\hdbscan\hdbscan_.py", line 941, in fitpredict self.fit(X) File "C:\Users\Reda\Anaconda3\lib\site-packages\hdbscan\hdbscan.py", line 919, in fit self._min_spanningtree) = hdbscan(X, **kwargs) File "C:\Users\Reda\Anaconda3\lib\site-packages\hdbscan\hdbscan.py", line 615, in hdbscan core_dist_njobs, *kwargs) File "C:\Users\Reda\Anaconda3\lib\site-packages\joblib\memory.py", line 352, in call return self.func(args, **kwargs) File "C:\Users\Reda\Anaconda3\lib\site-packages\hdbscan\hdbscan.py", line 274, in _hdbscan_boruvka_kdtree tree = KDTree(X, metric=metric, leaf_size=leaf_size, **kwargs) File "sklearn\neighbors_binary_tree.pxi", line 1061, in sklearn.neighbors._kd_tree.BinaryTree.init File "sklearn\neighbors_dist_metrics.pyx", line 289, in sklearn.neighbors._dist_metrics.DistanceMetric.get_metric TypeError: init() got an unexpected keyword argument 'check_pickle'