gpt4 book ai didi

python - 尝试安装 python 数据表时出现 C++ 编译器错误

转载 作者:行者123 更新时间:2023-12-03 21:02:09 25 4
gpt4 key购买 nike

我正在尝试使用“pip”为python安装“datatable”,如下所示,但出现错误。

pip install datatable

Error shown is:

Find an LLVM installation
Environment variable LLVM is not set
Environment variable LLVM7 is not set
Environment variable LLVM6 is not set
Environment variable LLVM5 is not set
Environment variable LLVM4 is not set
Candidate directory `/usr/local/opt/llvm` not found
The build will proceed without Llvm support

Determine the compiler
Environment variable `CXX` is not set
Environment variable `CC` is not set
Llvm installation not found, cannot search for the clang++ compiler
'compiler_cxx'
Compiler `clang++.exe` is not found
Compiler `gcc.exe` is not found

Prepare the environment

SystemExit: Suitable C++ compiler cannot be determined. Please specify a compiler executable in the `CXX` environment variable.

我什至为 Python 重新安装了 VC++ Compiler 并进行了更新:
pip install --upgrade setuptools

最佳答案

如果您使用的是 Windows,则可以通过 pip 直接安装数据表。从 0.11 版本开始。现在可以按照 https://datatable.readthedocs.io/en/latest/install.html#install-on-windows 中的说明安装库的开发快照。 .

关于python - 尝试安装 python 数据表时出现 C++ 编译器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56834035/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com