YttriLab / A-SOID

An active learning platform for expert-guided, data efficient discovery of behavior.
Other
53 stars 8 forks source link

ERROR: Failed building wheel for hdbscan; Microsoft C++ Build tools missing #59

Closed JensBlack closed 9 months ago

JensBlack commented 9 months ago

Some windows users might experience the following issue when installing A-SOiD (see below). This is connected to building tools missing and can be solved by installing the Microsoft C++ Build tools.

Issue (extract):

ERROR: Failed building wheel for hdbscan
ERROR: Could not build wheels for hdbscan, which is required to install pyproject.toml-based projects
failed

Solution

Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/      

Long Issue:

× Building wheel for hdbscan (pyproject.toml) did not run successfully.
│ exit code: 1
...
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/                                                          
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for hdbscan
ERROR: Could not build wheels for hdbscan, which is required to install pyproject.toml-based projects failed
CondaEnvException: Pip failed