opened
iver56
username_0
Without this, pip would fail to choose version during installation. I guess xgboost doesn't use semantic versioning atm.
Freeze xgboost requirement
issue
created
mfeurer
username_1
I cannot reproduce this in a fresh virtual environment using the [auto-sklearn installation guide](http://automl.github.io/auto-sklearn/stable/). Can you please explain how you installed auto-sklearn?
comment
created
iver56
username_0
I used a fresh instance of Ubuntu 14.04 run on Azure. I used the installation guide that you referenced. I did not use virtualenv. Not sure if I had an old version of pip. That might have been the problem. Anyway, this little change fixed the pip install problem in my case.
comment
created
mfeurer
username_1
Okay. It also seems to be a good idea to fix the version number since we ship xgboost metadata. Before I can merge this we have to resolve the version number. On my machine pip installs version 0.4a30 instead of 0.4a27. Do you have any idea why you get an older version of xgboost?
comment
created
iver56
username_0
I can now confirm that an old version of pip was my problem. It was version 1.5.4, which was released in 2014 and bundled with Ubuntu 14.04. With this version of pip, it would complain about xgboost, showing, the following message:
```
Could not find a version that satisfies the requirement xgboost (from versions: 0.4a15, 0.4a22, 0.4a28, 0.4a26, 0.4a25, 0.4a30, 0.4a12, 0.4a14, 0.4a23, 0.4a19, 0.4a29, 0.4a21, 0.4a13, 0.4a18, 0.4a24, 0.4a20, 0.4a27)
```
It didn't list 0.4a30 but it doesn't complain when I try to run `pip install xgboost==0.4a30`. New versions of pip do list 0.4a30, though. I changed my commit so version 0.4a30 is installed instead of 0.4a27.
comment
created
mfeurer
username_1
Thank you very much.
comment