ModuleNotFoundError: No module named 'xgboost' spyder code example Example: No module named 'xgboost' conda install -c conda-forge xgboost