2017-04-17 88 views
0

我正在嘗試在aws EC2中安裝xgboost,並在Jupyter筆記本中使用它。到現在爲止,我可以使用簡單的pip install xgboost進行安裝。當我在終端中運行它時,沒有問題。但是當我嘗試在Jupyter筆記本上運行它時,出現錯誤:ImportError: No module named 'xgboost'。你知道它爲什麼會發生嗎?在AWS EC2中的Jupyter筆記本中安裝xgboost

我希望你能幫助我。謝謝!

回答

1

看起來像這個鏈接有一些答案。顯然「如果我從Git Bash啓動jupyter筆記本,那麼Xgboost不起作用。」 https://github.com/dmlc/xgboost/issues/1644

+0

請問你是否可以對此進行充實,可能是對github問題中信息的更全面總結? – pcurry