admin管理员组文章数量:1315300
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"
本文标签: gccpipenv run pip install langchainchroma gives errorsStack Overflow
版权声明:本文标题:gcc - pipenv run pip install langchain-chroma gives errors - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741979925a2408336.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论