{
  "id": 600600,
  "title": "Help with Submission: AttributeError on make_env()",
  "url": "/competitions/cmi-detect-behavior-with-sensor-data/discussion/600600",
  "author_name": "A.K.NITHIN",
  "post_date": "2025-08-23T19:17:57.068000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Hello! I have finished training my models and my script runs successfully, but my submission is failing with this error:</p>\n<p>AttributeError: module 'kaggle_evaluation.cmi_gateway' has no attribute 'make_env'</p>\n<p>Can someone please provide the correct line(s) of code to import and initialize the submission environment?</p>",
  "messages": [
    {
      "id": 3274012,
      "postDate": "2025-08-23T19:17:57.070Z",
      "content": "<p>Hello! I have finished training my models and my script runs successfully, but my submission is failing with this error:</p>\n<p>AttributeError: module 'kaggle_evaluation.cmi_gateway' has no attribute 'make_env'</p>\n<p>Can someone please provide the correct line(s) of code to import and initialize the submission environment?</p>",
      "rawMarkdown": "Hello! I have finished training my models and my script runs successfully, but my submission is failing with this error:\n\nAttributeError: module 'kaggle_evaluation.cmi_gateway' has no attribute 'make_env'\n\nCan someone please provide the correct line(s) of code to import and initialize the submission environment?"
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "3274012": "Hello! I have finished training my models and my script runs successfully, but my submission is failing with this error:\n\nAttributeError: module 'kaggle_evaluation.cmi_gateway' has no attribute 'make_env'\n\nCan someone please provide the correct line(s) of code to import and initialize the submission environment?"
  }
}