Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xgboost + pipenv = </3

I love xgboost. And I love pipenv. But they don't love each other :(

pipenv install 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/

I've installed a compiled version of xgboost with anaconda but I just can't get it to play nicely with pipenv...

Any ideas?

Thanks!

like image 565
emehex Avatar asked May 16 '26 08:05

emehex


1 Answers

on macos (10.13.6) i fixed this by installing cmake with brew. I had the same(-ish) error message, but the full error output included references to not finding the cmake command.

brew install cmake

my error message:

'ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.'

like image 178
user13021228 Avatar answered May 17 '26 20:05

user13021228



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!