I’m trying to install crewai library but I always get this error :
error: subprocess-exited-with-error
Building wheel for chroma-hnswlib (pyproject.toml) did not run successfully.
exit code: 1
[5 lines of output]
running bdist_wheel
running build
running build_ext
building ‘hnswlib’ extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: Microsoft C++ Build Tools - Visual Studio
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for chroma-hnswlib
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (chroma-hnswlib)
I tried installing many Visual C++ or changing python version. I already saw some old post with the same issue but couldn’t find a solution.
Any help would be appreciated.