首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在RHEL服务器上安装TPOT

在RHEL服务器上安装TPOT
EN

Stack Overflow用户
提问于 2020-12-19 23:29:14
回答 1查看 71关注 0票数 0

我正在尝试在Red服务器上安装xgboost和TPOT,但它拒绝在pip3上这样做。我目前收到一个错误,其中这些是最重要的部分。

代码语言:javascript
运行
复制
 copying xgboost/CMakeLists.txt -> build/temp.linux-x86_64-3.6/xgboost
 copying xgboost/LICENSE -> build/temp.linux-x86_64-3.6/xgboost
 INFO:XGBoost build_ext:Building from source. /tmp/pip-build-uvm9zqkr/lib/libxgboost.so
 INFO:XGBoost build_ext:Run CMake command: ['cmake', 'xgboost', '-GUnix Makefiles', '-DUSE_OPENMP=1', 
'-DUSE_CUDA=0', '-DUSE_NCCL=0', '-DBUILD_WITH_SHARED_NCCL=0', '-DHIDE_CXX_SYMBOLS=1', '-DUSE_HDFS=0', 
'-DUSE_AZURE=0', '-DUSE_S3=0', '-DPLUGIN_LZ4=0', '-DPLUGIN_DENSE_PARSER=0',  
  DUSE_SYSTEM_LIBXGBOOST=0']
  error: [Errno 2] No such file or directory: 'cmake': 'cmake'

代码语言:javascript
运行
复制
Failed building wheel for xgboost
Running setup.py clean for xgboost
Failed to build xgboost
Installing collected packages: xgboost, tpot
Running setup.py install for xgboost ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip- 
build-uvm9zqkr/xgboost/setup.py';f=getattr(tokenize, 'open', open) 
(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" 
install --record /tmp/pip-3em2gmv0-record/install-record.txt --single-version-externally-managed -- 
compile:
 running install
 running build
 running build_py
 creating build
 creating build/lib.linux-x86_64-3.6
 creating build/lib.linux-x86_64-3.6/xgboost

INFO:XGBoost build_ext:Run CMake command: ['cmake', 'xgboost', '-GUnix Makefiles', '-DUSE_OPENMP=1', '-DUSE_CUDA=0', '-DUSE_NCCL=0', '-DBUILD_WITH_SHARED_NCCL=0', '-DHIDE_CXX_SYMBOLS=1', '-DUSE_HDFS=0', '-DUSE_AZURE=0', '-DUSE_S3=0', '-DPLUGIN_LZ4=0', '-DPLUGIN_DENSE_PARSER=0', '-DUSE_SYSTEM_LIBXGBOOST=0']
error: [Errno 2] No such file or directory: 'cmake': 'cmake'

代码语言:javascript
运行
复制
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build- 
uvm9zqkr/xgboost/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-3em2gmv0- 
 record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in 
 /tmp/pip-build-uvm9zqkr/xgboost/

我已经成功地通过git在服务器上安装了xgboost。我不能通过git安装TPOT,因为它似乎只为Debian系统编写,这让我不知所措。

EN

回答 1

Stack Overflow用户

发布于 2020-12-19 23:37:19

错误消息提示您需要安装cmake。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65371417

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档