Closed wangjiahong closed 6 years ago
@phunterlau @pluskid @xydrolase Could you help me with this, please?
@wangjiahong666 have you verified with this instruction https://www.ibm.com/developerworks/community/blogs/jfp/entry/Installing_XGBoost_For_Anaconda_on_Windows?lang=en and the PATH of your xgboost installation? The PATH can be the tricky key for notebooks.
@phunterlau Thank you Yes, I verified under the above instruction when I installed Xgboost.
Now I have figured out how to get Xgboost work in Jupyter Notebook. I have to launch Jupyter Notebook by clicking the "Jupyter Notebook" from start menu, then Xgboost works.
If I launch jupyter notebook from Git Bash, then Xgboost does NOT work. Very interesting......
@wangjiahong666 you might want to manually set the PATH from python's sys
so the notebook doesn't rely on specific windows PATH configuration.
Yeyy..finally opening Jupyter notebook from the start menu works for me as well, thanks a lot.
Xgboost could work in python, but does not work in Anaconda Jupyter notebook
Environment info
Operating System: Windows 7 64bit
Compiler:
Package used (python/R/jvm/C++): Python 2.7
xgboost
version used: 0.6If you are using python package, please provide