最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

gcc - pipenv run pip install langchain-chroma gives errors - Stack Overflow

programmeradmin2浏览0评论

I am trying to learn genAI and installing langchain-chroma as part of the training. I get the following error. It shows an error unknown compilers. I am running this on windows. Is there a way to get all these compilers installed?

Collecting numpy<2.0.0,>=1.26.2 (from langchain-chroma) Using cached numpy-1.26.4.tar.gz (15.8 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [21 lines of output] .. .. + C:\Users\akhil\genai\aienv\Scripts\python.exe C:\Users\akhil\AppData\Local\Temp\pip-install-q01s14_5\numpy_e38333924d1241a5b903eefdd6db344e\vendored-meson\meson\meson.py setup C:\Users\akhil\AppData\Local\Temp\pip-install-q01s14_5\numpy_e38333924d1241a5b903eefdd6db344e C:\Users\akhil\AppData\Local\Temp\pip-install-q01s14_5\numpy_e38333924d1241a5b903eefdd6db344e.mesonpy-l6vi0u9w -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\akhil\AppData\Local\Temp\pip-install-q01s14_5\numpy_e38333924d1241a5b903eefdd6db344e.mesonpy-l6vi0u9w\meson-python-native-file.ini The Meson build system Version: 1.2.99 Source dir: C:\Users\akhil\AppData\Local\Temp\pip-install-q01s14_5\numpy_e38333924d1241a5b903eefdd6db344e Build dir: C:\Users\akhil\AppData\Local\Temp\pip-install-q01s14_5\numpy_e38333924d1241a5b903eefdd6db344e.mesonpy-l6vi0u9w Build type: native build Project name: NumPy Project version: 1.26.4 WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe

  ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
  The following exception(s) were encountered:
  Running `icl ""` gave "[WinError 2] The system cannot find the file specified"
  Running `cl /?` gave "[WinError 2] The system cannot find the file specified"
  Running `cc --version` gave "[WinError 2] The system cannot find the file specified"
  Running `gcc --version` gave "[WinError 2] The system cannot find the file specified"
  Running `clang --version` gave "[WinError 2] The system cannot find the file specified"
  Running `clang-cl /?` gave "[WinError 2] The system cannot find the file specified"
  Running `pgcc --version` gave "[WinError 2] The system cannot find the file specified"
发布评论

评论列表(0)

  1. 暂无评论