{
  "id": 547095,
  "title": "Issue using package manager",
  "url": "/competitions/czii-cryo-et-object-identification/discussion/547095",
  "author_name": "",
  "post_date": "2024-11-19T19:01:27.360207500Z",
  "votes": null,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Has anyone gotten the new package manager working? I haven't managed to get a working submission with it yet. I've made a simple example notebook to demonstrate:</p>\n<p><a href=\"https://www.kaggle.com/code/jeroencottaar/package-manager-issue\" target=\"_blank\">https://www.kaggle.com/code/jeroencottaar/package-manager-issue</a></p>\n<ul>\n<li>If I save and commit this with Internet access disabled -&gt; successfuly runs</li>\n<li>If I commit this notebook (either from the editor or from the log screen for the successful run above) -&gt; Notebook threw exception</li>\n<li>If I comment out the \"import zarr\" line -&gt; submission is successful (0.000 score as expected)</li>\n</ul>\n<p>Am I doing something wrong with my configuration here?</p>",
  "messages": [
    {
      "id": "3050045",
      "postDate": "11/19/2024 19:01:27",
      "content": "<p>Has anyone gotten the new package manager working? I haven't managed to get a working submission with it yet. I've made a simple example notebook to demonstrate:</p>\n<p><a href=\"https://www.kaggle.com/code/jeroencottaar/package-manager-issue\" target=\"_blank\">https://www.kaggle.com/code/jeroencottaar/package-manager-issue</a></p>\n<ul>\n<li>If I save and commit this with Internet access disabled -&gt; successfuly runs</li>\n<li>If I commit this notebook (either from the editor or from the log screen for the successful run above) -&gt; Notebook threw exception</li>\n<li>If I comment out the \"import zarr\" line -&gt; submission is successful (0.000 score as expected)</li>\n</ul>\n<p>Am I doing something wrong with my configuration here?</p>",
      "rawMarkdown": "Has anyone gotten the new package manager working? I haven't managed to get a working submission with it yet. I've made a simple example notebook to demonstrate:\n\nhttps://www.kaggle.com/code/jeroencottaar/package-manager-issue\n\n- If I save and commit this with Internet access disabled -> successfuly runs\n- If I commit this notebook (either from the editor or from the log screen for the successful run above) -> Notebook threw exception\n- If I comment out the \"import zarr\" line -> submission is successful (0.000 score as expected)\n\nAm I doing something wrong with my configuration here?",
      "votes": null
    },
    {
      "id": "3050058",
      "postDate": "11/19/2024 19:26:32",
      "content": "<p>Did you saved the \"pip install zarr\" line in package manager before commit?</p>",
      "rawMarkdown": "Did you saved the \"pip install zarr\" line in package manager before commit?",
      "votes": null
    },
    {
      "id": "3050070",
      "postDate": "11/19/2024 19:37:26",
      "content": "<p>I've run commit. Everything fine.</p>\n<p><a href=\"https://www.kaggle.com/code/sacuscreed/package-manager-issue\" target=\"_blank\">https://www.kaggle.com/code/sacuscreed/package-manager-issue</a></p>\n<p>EDIT: \"If I commit this notebook (either from the editor or from the log screen for the successful run above) -&gt; Notebook threw exception\" Ahhh…</p>\n<p>Not sure if it's intended normal use. But to submit, take the commit and submit from top right options.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8722753%2F22e6d210f3fd992dd10632d1937ab345%2Fpackages.png?generation=1732045228690667&amp;alt=media\" alt=\"\"></p>\n<p>Also, the packages should be visible as \"dataset\"</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8722753%2Ffd2c8ae2a72383c13adccdbea87cd6ed%2Fpackages2.png?generation=1732045330273843&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "I've run commit. Everything fine.\n\nhttps://www.kaggle.com/code/sacuscreed/package-manager-issue\n\nEDIT: \"If I commit this notebook (either from the editor or from the log screen for the successful run above) -> Notebook threw exception\" Ahhh...\n\nNot sure if it's intended normal use. But to submit, take the commit and submit from top right options.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8722753%2F22e6d210f3fd992dd10632d1937ab345%2Fpackages.png?generation=1732045228690667&alt=media)\n\nAlso, the packages should be visible as \"dataset\"\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8722753%2Ffd2c8ae2a72383c13adccdbea87cd6ed%2Fpackages2.png?generation=1732045330273843&alt=media)",
      "votes": null
    },
    {
      "id": "3050144",
      "postDate": "11/19/2024 21:26:58",
      "content": "<p>Thanks for checking! I just committed using the method you suggested and indeed got a 0.000 score. I was pretty sure I tried that method, but apparently not…</p>\n<p>So does this mean we now have to always 'save &amp; run all' a version, wait for it to finish, and can only then commit? That's a fair bit less convenient than directly submitting from the notebook editor (though probably still easier than not using package manager at all…)</p>",
      "rawMarkdown": "Thanks for checking! I just committed using the method you suggested and indeed got a 0.000 score. I was pretty sure I tried that method, but apparently not...\n\nSo does this mean we now have to always 'save & run all' a version, wait for it to finish, and can only then commit? That's a fair bit less convenient than directly submitting from the notebook editor (though probably still easier than not using package manager at all...)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3050058,
      "author_name": "sacuscreed",
      "author_url": "",
      "post_date": "11/19/2024 19:26:32",
      "content": "<p>Did you saved the \"pip install zarr\" line in package manager before commit?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 3050070,
      "author_name": "sacuscreed",
      "author_url": "",
      "post_date": "11/19/2024 19:37:26",
      "content": "<p>I've run commit. Everything fine.</p>\n<p><a href=\"https://www.kaggle.com/code/sacuscreed/package-manager-issue\" target=\"_blank\">https://www.kaggle.com/code/sacuscreed/package-manager-issue</a></p>\n<p>EDIT: \"If I commit this notebook (either from the editor or from the log screen for the successful run above) -&gt; Notebook threw exception\" Ahhh…</p>\n<p>Not sure if it's intended normal use. But to submit, take the commit and submit from top right options.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8722753%2F22e6d210f3fd992dd10632d1937ab345%2Fpackages.png?generation=1732045228690667&amp;alt=media\" alt=\"\"></p>\n<p>Also, the packages should be visible as \"dataset\"</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8722753%2Ffd2c8ae2a72383c13adccdbea87cd6ed%2Fpackages2.png?generation=1732045330273843&amp;alt=media\" alt=\"\"></p>",
      "votes": null,
      "replies": [
        {
          "id": 3050144,
          "author_name": "jeroencottaar",
          "author_url": "",
          "post_date": "11/19/2024 21:26:58",
          "content": "<p>Thanks for checking! I just committed using the method you suggested and indeed got a 0.000 score. I was pretty sure I tried that method, but apparently not…</p>\n<p>So does this mean we now have to always 'save &amp; run all' a version, wait for it to finish, and can only then commit? That's a fair bit less convenient than directly submitting from the notebook editor (though probably still easier than not using package manager at all…)</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3050045": "Has anyone gotten the new package manager working? I haven't managed to get a working submission with it yet. I've made a simple example notebook to demonstrate:\n\nhttps://www.kaggle.com/code/jeroencottaar/package-manager-issue\n\n- If I save and commit this with Internet access disabled -> successfuly runs\n- If I commit this notebook (either from the editor or from the log screen for the successful run above) -> Notebook threw exception\n- If I comment out the \"import zarr\" line -> submission is successful (0.000 score as expected)\n\nAm I doing something wrong with my configuration here?",
    "3050058": "Did you saved the \"pip install zarr\" line in package manager before commit?",
    "3050070": "I've run commit. Everything fine.\n\nhttps://www.kaggle.com/code/sacuscreed/package-manager-issue\n\nEDIT: \"If I commit this notebook (either from the editor or from the log screen for the successful run above) -> Notebook threw exception\" Ahhh...\n\nNot sure if it's intended normal use. But to submit, take the commit and submit from top right options.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8722753%2F22e6d210f3fd992dd10632d1937ab345%2Fpackages.png?generation=1732045228690667&alt=media)\n\nAlso, the packages should be visible as \"dataset\"\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F8722753%2Ffd2c8ae2a72383c13adccdbea87cd6ed%2Fpackages2.png?generation=1732045330273843&alt=media)",
    "3050144": "Thanks for checking! I just committed using the method you suggested and indeed got a 0.000 score. I was pretty sure I tried that method, but apparently not...\n\nSo does this mean we now have to always 'save & run all' a version, wait for it to finish, and can only then commit? That's a fair bit less convenient than directly submitting from the notebook editor (though probably still easier than not using package manager at all...)"
  },
  "source": "meta"
}