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