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

Error when Installing on Windows 8.1 Python #2158

Closed
wenbo5565 opened this issue Mar 29, 2017 · 3 comments
Closed

Error when Installing on Windows 8.1 Python #2158

wenbo5565 opened this issue Mar 29, 2017 · 3 comments

Comments

@wenbo5565
Copy link

For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.

Environment info

Operating System:
Windows 8.1
Compiler:
Visual Studio 2013
Package used (python/R/jvm/C++):
Python
xgboost version used:

If installing from source, please provide

  1. The commit hash (git rev-parse HEAD)
  2. Logs will be helpful (If logs are large, please upload as attachment).

If you are using python package, please provide

  1. The python version and distribution
  2. The command to install xgboost if you are not installing from source

If you are using R package, please provide

  1. The R sessionInfo()
  2. The command to install xgboost if you are not installing from source

Steps to reproduce

Hi, I was trying to install xgboost by following steps at http://stackoverflow.com/questions/33749735/how-to-install-xgboost-package-in-python-windows-platform

I was stuck at step 3 when running cmake .. G"Visual Studio 12 2013 Win64". The error I get is

CMake Error at CMakeLists.txt:76 (add_subdirectory):
  The source directory

    D:/xgboost_dir/dmlc-core

  does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!

I was calling cmake from build directory.

Thank you.

What have you tried?

@wenbo5565
Copy link
Author

This issue is resolved by running in the local cloned xgboost directory

git submodule init
git submodule update

@guoyuhaoaaa
Copy link

@wenbo5565 can you tell the reason why type "git submodule init" and "git submodule update" can solve this problem?? Thank you so much

@wenbo5565
Copy link
Author

@guoyuhaoaaa I am not sure the reason. Possibly I found this solution on google. You could try if you can find more details there.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants