{
  "id": 544298,
  "title": "About_prediction",
  "url": "/competitions/mlb-player-digital-engagement-forecasting/discussion/544298",
  "author_name": "",
  "post_date": "2024-11-04T11:19:48.318608200Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>•code<br>\nimport mlb<br>\nenv = mlb.make_env()<br>\niter_test = env.iter_test()<br>\nfor (test_df, prediction_df) in iter_test:<br>\n    display(test_df.head())<br>\n    display(prediction_df.head())<br>\n    break</p>\n<p>[When I entered the code above, I got this error message below and I coundn't proceed. How can I solve this problem?]</p>\n<p>•error message<br>\nModuleNotFoundError                       Traceback (most recent call last)<br>\nCell In[56], line 1<br>\n----&gt; 1 import mlb<br>\n      2 env = mlb.make_env()<br>\n      3 iter_test = env.iter_test()</p>\n<p>File /kaggle/input/mlb-player-digital-engagement-forecasting/mlb/<strong>init</strong>.py:2<br>\n----&gt; 2 from .competition import make_env<br>\n      4 <strong>all</strong> = ['make_env']</p>\n<p>ModuleNotFoundError: No module named 'mlb.competition'</p>",
  "messages": [
    {
      "id": "3036224",
      "postDate": "11/04/2024 11:19:48",
      "content": "<p>•code<br>\nimport mlb<br>\nenv = mlb.make_env()<br>\niter_test = env.iter_test()<br>\nfor (test_df, prediction_df) in iter_test:<br>\n    display(test_df.head())<br>\n    display(prediction_df.head())<br>\n    break</p>\n<p>[When I entered the code above, I got this error message below and I coundn't proceed. How can I solve this problem?]</p>\n<p>•error message<br>\nModuleNotFoundError                       Traceback (most recent call last)<br>\nCell In[56], line 1<br>\n----&gt; 1 import mlb<br>\n      2 env = mlb.make_env()<br>\n      3 iter_test = env.iter_test()</p>\n<p>File /kaggle/input/mlb-player-digital-engagement-forecasting/mlb/<strong>init</strong>.py:2<br>\n----&gt; 2 from .competition import make_env<br>\n      4 <strong>all</strong> = ['make_env']</p>\n<p>ModuleNotFoundError: No module named 'mlb.competition'</p>",
      "rawMarkdown": "•code\nimport mlb\nenv = mlb.make_env()\niter_test = env.iter_test()\nfor (test_df, prediction_df) in iter_test:\n    display(test_df.head())\n    display(prediction_df.head())\n    break\n\n[When I entered the code above, I got this error message below and I coundn't proceed. How can I solve this problem?]\n\n•error message\nModuleNotFoundError                       Traceback (most recent call last)\nCell In[56], line 1\n----> 1 import mlb\n      2 env = mlb.make_env()\n      3 iter_test = env.iter_test()\n\nFile /kaggle/input/mlb-player-digital-engagement-forecasting/mlb/__init__.py:2\n----> 2 from .competition import make_env\n      4 __all__ = ['make_env']\n\nModuleNotFoundError: No module named 'mlb.competition'",
      "votes": null
    },
    {
      "id": "3107302",
      "postDate": "01/26/2025 09:20:20",
      "content": "<p>I am also struggling with the same error. Have you managed to resolve it?</p>",
      "rawMarkdown": "I am also struggling with the same error. Have you managed to resolve it?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3107302,
      "author_name": "yuma33",
      "author_url": "",
      "post_date": "01/26/2025 09:20:20",
      "content": "<p>I am also struggling with the same error. Have you managed to resolve it?</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "3036224": "•code\nimport mlb\nenv = mlb.make_env()\niter_test = env.iter_test()\nfor (test_df, prediction_df) in iter_test:\n    display(test_df.head())\n    display(prediction_df.head())\n    break\n\n[When I entered the code above, I got this error message below and I coundn't proceed. How can I solve this problem?]\n\n•error message\nModuleNotFoundError                       Traceback (most recent call last)\nCell In[56], line 1\n----> 1 import mlb\n      2 env = mlb.make_env()\n      3 iter_test = env.iter_test()\n\nFile /kaggle/input/mlb-player-digital-engagement-forecasting/mlb/__init__.py:2\n----> 2 from .competition import make_env\n      4 __all__ = ['make_env']\n\nModuleNotFoundError: No module named 'mlb.competition'",
    "3107302": "I am also struggling with the same error. Have you managed to resolve it?"
  },
  "source": "meta"
}