Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do I solve " Failed building wheel for hdbscan "?

I tried to download Hdbscan using pip install hdbscan , I get this :

ERROR: Failed building wheel for hdbscan

ERROR: Could not build wheels for hdbscan which use PEP 517 and cannot be installed directly

I've tried several solutions, it didn't work tho.

like image 915
Omar Hossam Avatar asked May 01 '21 03:05

Omar Hossam


2 Answers

you simply use conda install -c conda-forge hdbscan instead of pip

or you can go to : https://anaconda.org/search?q=hdbscan if the first code doesn't work too.

like image 123
Omar Hossam Avatar answered Nov 13 '22 10:11

Omar Hossam


Try to install the equivalent python3.[x]-dev package.

For ex, for python3.8 use: sudo apt install python3.8-dev

like image 35
mork Avatar answered Nov 13 '22 10:11

mork