No module named 'xgboost'

Vik Manne 6 Reputation points
2020-08-14T03:50:02.88+00:00

Hello there,

I'm seeing an error - No module named 'xgboost' when attempting to deploy a model using python SDK. Here is my conda yaml file. What am I missing?
Unable to get the end point to generate an output.

name: project_environment
dependencies:

The python interpreter version.

Currently Azure ML only supports 3.5.2 and later.

  • python=3.6.2
  • pip:
    • inference-schema
    • azureml-defaults
    • azureml-explain-model
    • numpy>=1.16.0,<1.17.0
    • pandas>=0.21.0,<=0.23.4
    • scikit-learn>=0.19.0,<=0.20.3
    • py-xgboost
    • fbprophet==0.5
    • holidays==0.9.11
    • psutil>=5.2.2,<6.0.0
    • xgboost
    • azureml-sdk[notebooks,automl]
      channels:
  • anaconda
  • conda-forge
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,852 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,736 Reputation points
    2020-08-14T10:05:53.963+00:00

    @Vik Manne Thanks for the question. Can you please check on the pip and coda packages properly separated. If possible please share the link to the yaml file.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.