網頁

2019年7月8日 星期一

ModuleNotFoundError: No module named 'xgboost'

如果在終端機
$ pip3 install xgboost

如果在jupyter notebook
import sys
!{sys.executable} -m pip install xgboost



參考
https://stackoverflow.com/questions/44858267/importerror-cannot-import-name-xgbclassifier

沒有留言:

張貼留言