{
  "id": 267245,
  "title": "RuntimeError",
  "url": "/competitions/rsna-miccai-brain-tumor-radiogenomic-classification/discussion/267245",
  "author_name": "",
  "post_date": "2021-08-22T12:12:13.508728400Z",
  "votes": 1,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Hi people,</p>\n<p>I have a RuntimeError in my script but this error doesn't affect the normal running of all the algorithm and I get my \"submission.csv\" file without any problem. This error can't be avoided since it's related with the numpy version of Kaggle. The problem is that when I submit my script to competition , the submission is rejected after its execution since it has thrown an exception (the one I explained before). Is there any solution to this problem? </p>\n<p>Thank you,</p>\n<p>Elliot.</p>",
  "messages": [
    {
      "id": "1485774",
      "postDate": "08/22/2021 12:12:13",
      "content": "<p>Hi people,</p>\n<p>I have a RuntimeError in my script but this error doesn't affect the normal running of all the algorithm and I get my \"submission.csv\" file without any problem. This error can't be avoided since it's related with the numpy version of Kaggle. The problem is that when I submit my script to competition , the submission is rejected after its execution since it has thrown an exception (the one I explained before). Is there any solution to this problem? </p>\n<p>Thank you,</p>\n<p>Elliot.</p>",
      "rawMarkdown": "Hi people,\n\nI have a RuntimeError in my script but this error doesn't affect the normal running of all the algorithm and I get my \"submission.csv\" file without any problem. This error can't be avoided since it's related with the numpy version of Kaggle. The problem is that when I submit my script to competition , the submission is rejected after its execution since it has thrown an exception (the one I explained before). Is there any solution to this problem? \n\nThank you,\n\nElliot.",
      "votes": null
    },
    {
      "id": "1487303",
      "postDate": "08/23/2021 14:33:51",
      "content": "<p>Are you installing a numpy package using sudo or smth? </p>\n<p>Did you ensure internet access is disabled for your notebook?</p>",
      "rawMarkdown": "Are you installing a numpy package using sudo or smth? \n\nDid you ensure internet access is disabled for your notebook?",
      "votes": null
    },
    {
      "id": "1488927",
      "postDate": "08/24/2021 15:38:23",
      "content": "<p>The internet is disabled in my notebook and all I install is through pip module. The exact error is: <br>\nRuntimeError                              Traceback (most recent call last)<br>\nRuntimeError: module compiled against API version 0xe but this version of numpy is 0xd</p>",
      "rawMarkdown": "The internet is disabled in my notebook and all I install is through pip module. The exact error is: \nRuntimeError                              Traceback (most recent call last)\nRuntimeError: module compiled against API version 0xe but this version of numpy is 0xd",
      "votes": null
    },
    {
      "id": "1489070",
      "postDate": "08/24/2021 17:30:00",
      "content": "<p>So remember that pip installs by downloading from the internet, don't think you can use pip unfortunately. Weird that it works for you though…</p>\n<p>Mind sharing exactly what you are installing? Like the command.</p>",
      "rawMarkdown": "So remember that pip installs by downloading from the internet, don't think you can use pip unfortunately. Weird that it works for you though...\n\nMind sharing exactly what you are installing? Like the command.",
      "votes": null
    },
    {
      "id": "1491779",
      "postDate": "08/26/2021 16:08:35",
      "content": "<p>Absolutely no. Pip can install a previous download wheel or source code without any issue. </p>",
      "rawMarkdown": "Absolutely no. Pip can install a previous download wheel or source code without any issue.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1487303,
      "author_name": "d223chen",
      "author_url": "",
      "post_date": "08/23/2021 14:33:51",
      "content": "<p>Are you installing a numpy package using sudo or smth? </p>\n<p>Did you ensure internet access is disabled for your notebook?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1488927,
      "author_name": "elliotgonzlez",
      "author_url": "",
      "post_date": "08/24/2021 15:38:23",
      "content": "<p>The internet is disabled in my notebook and all I install is through pip module. The exact error is: <br>\nRuntimeError                              Traceback (most recent call last)<br>\nRuntimeError: module compiled against API version 0xe but this version of numpy is 0xd</p>",
      "votes": null,
      "replies": [
        {
          "id": 1489070,
          "author_name": "d223chen",
          "author_url": "",
          "post_date": "08/24/2021 17:30:00",
          "content": "<p>So remember that pip installs by downloading from the internet, don't think you can use pip unfortunately. Weird that it works for you though…</p>\n<p>Mind sharing exactly what you are installing? Like the command.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1491779,
          "author_name": "elliotgonzlez",
          "author_url": "",
          "post_date": "08/26/2021 16:08:35",
          "content": "<p>Absolutely no. Pip can install a previous download wheel or source code without any issue. </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1485774": "Hi people,\n\nI have a RuntimeError in my script but this error doesn't affect the normal running of all the algorithm and I get my \"submission.csv\" file without any problem. This error can't be avoided since it's related with the numpy version of Kaggle. The problem is that when I submit my script to competition , the submission is rejected after its execution since it has thrown an exception (the one I explained before). Is there any solution to this problem? \n\nThank you,\n\nElliot.",
    "1487303": "Are you installing a numpy package using sudo or smth? \n\nDid you ensure internet access is disabled for your notebook?",
    "1488927": "The internet is disabled in my notebook and all I install is through pip module. The exact error is: \nRuntimeError                              Traceback (most recent call last)\nRuntimeError: module compiled against API version 0xe but this version of numpy is 0xd",
    "1489070": "So remember that pip installs by downloading from the internet, don't think you can use pip unfortunately. Weird that it works for you though...\n\nMind sharing exactly what you are installing? Like the command.",
    "1491779": "Absolutely no. Pip can install a previous download wheel or source code without any issue."
  },
  "source": "meta"
}