Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_xgboost file is not running on windows 10 #75

Closed
Sandy4321 opened this issue Jun 15, 2016 · 5 comments
Closed

test_xgboost file is not running on windows 10 #75

Sandy4321 opened this issue Jun 15, 2016 · 5 comments

Comments

@Sandy4321
Copy link

test_xgboost
file is not running on windows 10
File "c:\Sander\my_code\rep-master\tests\test_xgboost.py", line 4, in
from rep.estimators import XGBoostClassifier, XGBoostRegressor

ImportError: cannot import name XGBoostClassifier

when rep installatoin is ok
but xgboost instal fails
Microsoft Windows Version 10.0.10586 2015 Microsoft Corporation. All rights reserved.

c:\Sander>pip install rep --no-dependencies
Collecting rep
Downloading rep-0.6.5.tar.gz (72kB)
100% |################################| 81kB 511kB/s
Building wheels for collected packages: rep
Running setup.py bdist_wheel for rep ... done
Stored in directory: C:\Users\Sander\AppData\Local\pip\Cache\wheels\db\ee\06\ac6e3f3ec208edaee29654f0b55ffaf2719a51de799c396b91
Successfully built rep
Installing collected packages: rep
Successfully installed rep-0.6.5
You are using pip version 8.1.0, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

c:\Sander>pip install xgboost==0.4a30
Collecting xgboost==0.4a30
Downloading xgboost-0.4a30.tar.gz (753kB)
100% |################################| 757kB 553kB/s
No files/directories in c:\users\sander\appdata\local\temp\pip-build-exobfm\xgboost\pip-egg-info (from PKG-INFO)
You are using pip version 8.1.0, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

c:\Sander>

@arogozhnikov
Copy link
Contributor

Hi Sandy,

but xgboost instal fails

AFAIR XGBoost has serious problems with packaging on windows, and those are still not resolved - you need to compile it manually. This is an XGBoost issue, which is unrelated to REP (and we can't fix it).

Easiest way to get everything working on windows in Kitematic = docker for windows.

@Sandy4321
Copy link
Author

ok thanks

@Sandy4321
Copy link
Author

Kitematic = docker for windows. soem intro how to use this from 0 to works

@jonas-eschle
Copy link

I think your question has really nothing to do with this repository;) But anyway, here is a link to a good guide:
https://docs.docker.com/kitematic/userguide/

Btw: Installation via pip is very easy too. Are you used to pip? Basically, just write "pip install rep". Finished. Not so difficult either;)

@arogozhnikov
Copy link
Contributor

some instructions for kitematic are added to the documentation

http://yandex.github.io/rep/reproducibility.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants