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 anaconda3include folder.
Where can I get this file?
Should I reinstall anaconda?
Or use something else?
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.
File "C:UsersRedaAnaconda3libsite-packageshdbscanhdbscan_.py", line 941, in fit_predict
self.fit(X)
File "C:UsersRedaAnaconda3libsite-packageshdbscanhdbscan_.py", line 919, in fit
self._min_spanning_tree) = hdbscan(X, *kwargs)
File "C:UsersRedaAnaconda3libsite-packageshdbscanhdbscan_.py", line 615, in hdbscan
core_dist_n_jobs, *kwargs)
File "C:UsersRedaAnaconda3libsite-packagesjoblibmemory.py", line 352, in __call__
return self.func(args, *kwargs)
File "C:UsersRedaAnaconda3libsite-packageshdbscanhdbscan_.py", line 274, in _hdbscan_boruvka_kdtree
tree = KDTree(X, metric=metric, leaf_size=leaf_size, **kwargs)
File "sklearnneighbors_binary_tree.pxi", line 1061, in sklearn.neighbors._kd_tree.BinaryTree.__init__
File "sklearnneighbors_dist_metrics.pyx", line 289, in sklearn.neighbors._dist_metrics.DistanceMetric.get_metric
TypeError: __init__() got an unexpected keyword argument 'check_pickle'
Most helpful comment
I'm not sure what is going wrong there, but I would strongly suggest you try:
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.