我喜欢 xgboost。我喜欢 pipenv。但他们并不相爱:(
pipenv 安装 xgboost
Error: An error occurred while installing xgboost! Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9cab91je/xgboost/
我已经安装了 compiled version of xgboost with anaconda但我就是无法让它与 pipenv 很好地配合......
有什么想法吗?
谢谢!
最佳答案
在 macOS (10.13.6) 上,我通过使用 brew 安装 cmake 来解决这个问题。我有相同的(-ish)错误消息,但完整的错误输出包括对找不到 cmake 命令的引用。
brew install cmake
我的错误信息:
'ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.'
关于python - xgboost + pipenv = </3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48432558/