Giter Club home page Giter Club logo

Comments (11)

enfeizhan avatar enfeizhan commented on July 30, 2024 2

@pronojitsaha I solved this problem this way. Maybe just works for me:

  • clone xgboost repo: git clone http://github.com/dmlc/xgboost
  • make sure submodule dmlc-core also cloned:
    1. cd xgboost
    2. git submodule update --init
  • build: ./build.sh
  • install:
    1. cd python-package
    2. python setup.py install

Hope it helps. Let me know.

from binder.

pronojitsaha avatar pronojitsaha commented on July 30, 2024

Any updates on this one?

from binder.

enfeizhan avatar enfeizhan commented on July 30, 2024

I have same problem on a ubuntu box in miniconda environment.

from binder.

pronojitsaha avatar pronojitsaha commented on July 30, 2024

Hi @enfeizhan thanks for the input, appreciate it. But I am a bit confused, are you advising to install xgboost again as outlined by you on my local machine? However I am not getting the error on my local machine...its when I run the notebook from the binder....am I missing something here?

from binder.

enfeizhan avatar enfeizhan commented on July 30, 2024

@pronojitsaha Sorry for the confusion. Actually I was too focused to be aware of your problem was in a different context. I don't know how to solve the problem with binder (sorry I actually have no idea of what binder does). Maybe what you can take away is running the build.sh can properly compile the c++ libraries (maybe c libraries. I am pretty terrible with jargons), which should be the ones pointed out by the error you posted.

I suppose this might be helpful as I saw the same error when I ran import xgboost on my remote machine with ubuntu installed.

from binder.

pronojitsaha avatar pronojitsaha commented on July 30, 2024

Ok, I understand. Thanks again. Probably the project owners can implement your way in the way binder builds xgboost when mentioned in the requirements.txt? cc @andrewosh

from binder.

enfeizhan avatar enfeizhan commented on July 30, 2024

A bit twist before this solved my problem was git clone the repo gives an empty folder dmlc-core, which contains the make file executed in build.sh. Turns out dmlc-core is a submodule. You need to clone it separately by git submodule update --init

@pronojitsaha @andrewosh Good luck!

from binder.

JuanSebastanCho avatar JuanSebastanCho commented on July 30, 2024

Same problem here... Any solution?

from binder.

NickBuchny avatar NickBuchny commented on July 30, 2024

@enfeizhan Solved it for me thank you!

@JuanSebastanCho did you attempt his solution?

from binder.

enfeizhan avatar enfeizhan commented on July 30, 2024

@BrochineLearning Happy you solved it.

from binder.

sorenwacker avatar sorenwacker commented on July 30, 2024

Same problem with xgboost installed in anaconda3 environment via pip3. In a Linux console for Windows 10 (confusingly called Ubuntu).

from binder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.