51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

pip install chromadb building ‘hnswlib’ extension error: Microsoft Visual C++ 14

D:\03-code\pycharm\aigc\openaidemo\venv\Scripts\activate.bat
pip install chromadb

  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/

可以参考:

python Microsoft Visual C++ 14.0 or greater is required 问题解决方案 :连接

赞(6)
未经允许不得转载:工具盒子 » pip install chromadb building ‘hnswlib’ extension error: Microsoft Visual C++ 14