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