PraisonAI icon indicating copy to clipboard operation
PraisonAI copied to clipboard

failing pip install praisonai

Open desy0305 opened this issue 1 year ago • 1 comments

tried many times in different configurations, but always reached this error: Building wheels for collected packages: chroma-hnswlib Building wheel for chroma-hnswlib (pyproject.toml) ... 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": 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 chroma-hnswlib Failed to build chroma-hnswlib ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (chroma-hnswlib)

desy0305 avatar Jul 16 '24 07:07 desy0305

you just need to install the dependencies like in the provided link (visual cpp build tools) and try the installation again.

krizslash avatar Sep 27 '24 03:09 krizslash

@desy0305 @krizslash Please upgrade the package, these issues should have been fixed. Please reopen if it persists.

MervinPraison avatar May 30 '25 12:05 MervinPraison