{
  "id": 358369,
  "title": "How to install GDCM and pylibjpeg, without Internet, when Submit?",
  "url": "/competitions/rsna-2022-cervical-spine-fracture-detection/discussion/358369",
  "author_name": "Numael42",
  "post_date": "2022-10-07T14:32:52.287000",
  "votes": 0,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Hi. I also have this error when reading certain *.dcm files :</p>\n<blockquote>\n  <p>RuntimeError: The following handlers are available to decode the pixel data however they are missing required <br>\n  dependencies: GDCM (req. GDCM), pylibjpeg (req. )</p>\n</blockquote>\n<p>With the internet, it's pretty easy to solve:</p>\n<blockquote>\n  <p>!pip install python-gdcm pylibjpeg pylibjpeg-libjpeg</p>\n</blockquote>\n<p>Unfortunately… we don't have internet access while the submit. :-(</p>",
  "messages": [
    {
      "id": 1976750,
      "postDate": "2022-10-07T14:39:49.960Z",
      "content": "<p>You can do something like these two: one for <a href=\"https://www.kaggle.com/code/contact2028/rsna-pip-wheel-for-offline-package-installations\" target=\"_blank\">download</a> and another to be used during <a href=\"https://www.kaggle.com/code/contact2028/load-libraries-for-offline-package-installations\" target=\"_blank\">submission</a>.</p>",
      "rawMarkdown": "You can do something like these two: one for [download](https://www.kaggle.com/code/contact2028/rsna-pip-wheel-for-offline-package-installations) and another to be used during [submission](https://www.kaggle.com/code/contact2028/load-libraries-for-offline-package-installations).",
      "votes": 2,
      "replies": [
        {
          "id": 1976802,
          "postDate": "2022-10-07T15:09:07.873Z",
          "content": "<p>Thanks for sharing the solution. I will do this. 👍</p>",
          "rawMarkdown": "Thanks for sharing the solution. I will do this. 👍",
          "votes": 1
        }
      ]
    },
    {
      "id": 1993866,
      "postDate": "2022-10-18T16:27:25.277Z",
      "content": "<p>You can download those packages and upload as your datasets.<br>\nadd those packages <br>\nUse sys.append(\"YOUR PACKAGE PATH\")<br>\nsimply do as usual <br>\nimport \"your package\" </p>",
      "rawMarkdown": "You can download those packages and upload as your datasets.\nadd those packages \nUse sys.append(\"YOUR PACKAGE PATH\")\nsimply do as usual \nimport \"your package\" \n"
    },
    {
      "id": 1976744,
      "postDate": "2022-10-07T14:32:52.287Z",
      "content": "<p>Hi. I also have this error when reading certain *.dcm files :</p>\n<blockquote>\n  <p>RuntimeError: The following handlers are available to decode the pixel data however they are missing required <br>\n  dependencies: GDCM (req. GDCM), pylibjpeg (req. )</p>\n</blockquote>\n<p>With the internet, it's pretty easy to solve:</p>\n<blockquote>\n  <p>!pip install python-gdcm pylibjpeg pylibjpeg-libjpeg</p>\n</blockquote>\n<p>Unfortunately… we don't have internet access while the submit. :-(</p>",
      "rawMarkdown": "Hi. I also have this error when reading certain *.dcm files :\n\n> RuntimeError: The following handlers are available to decode the pixel data however they are missing required \n> dependencies: GDCM (req. GDCM), pylibjpeg (req. )\n\nWith the internet, it's pretty easy to solve:\n\n> !pip install python-gdcm pylibjpeg pylibjpeg-libjpeg\n\nUnfortunately... we don't have internet access while the submit. :-("
    }
  ],
  "comments": [
    {
      "id": 1976750,
      "author_name": "Ranjeet",
      "author_url": "",
      "post_date": "2022-10-07T14:39:49.960000",
      "content": "<p>You can do something like these two: one for <a href=\"https://www.kaggle.com/code/contact2028/rsna-pip-wheel-for-offline-package-installations\" target=\"_blank\">download</a> and another to be used during <a href=\"https://www.kaggle.com/code/contact2028/load-libraries-for-offline-package-installations\" target=\"_blank\">submission</a>.</p>",
      "votes": 2,
      "replies": [
        {
          "id": 1976802,
          "author_name": "Numael42",
          "author_url": "",
          "post_date": "2022-10-07T15:09:07.873000",
          "content": "<p>Thanks for sharing the solution. I will do this. 👍</p>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 1993866,
      "author_name": "Altair Farooque",
      "author_url": "",
      "post_date": "2022-10-18T16:27:25.277000",
      "content": "<p>You can download those packages and upload as your datasets.<br>\nadd those packages <br>\nUse sys.append(\"YOUR PACKAGE PATH\")<br>\nsimply do as usual <br>\nimport \"your package\" </p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1976750": "You can do something like these two: one for [download](https://www.kaggle.com/code/contact2028/rsna-pip-wheel-for-offline-package-installations) and another to be used during [submission](https://www.kaggle.com/code/contact2028/load-libraries-for-offline-package-installations).",
    "1993866": "You can download those packages and upload as your datasets.\nadd those packages \nUse sys.append(\"YOUR PACKAGE PATH\")\nsimply do as usual \nimport \"your package\" \n",
    "1976744": "Hi. I also have this error when reading certain *.dcm files :\n\n> RuntimeError: The following handlers are available to decode the pixel data however they are missing required \n> dependencies: GDCM (req. GDCM), pylibjpeg (req. )\n\nWith the internet, it's pretty easy to solve:\n\n> !pip install python-gdcm pylibjpeg pylibjpeg-libjpeg\n\nUnfortunately... we don't have internet access while the submit. :-("
  }
}