{
  "id": 328393,
  "title": "How to install custom packages when internet access is disabled?",
  "url": "/competitions/AI4Code/discussion/328393",
  "author_name": "",
  "post_date": "2022-06-01T08:30:59.895525Z",
  "votes": 1,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Hello! I’m new to kaggle competitions and specifically code competitions like this one which internet access will be disabled during test phase!<br>\nSo, how should we install custom packages?</p>",
  "messages": [
    {
      "id": "1807653",
      "postDate": "06/01/2022 08:30:59",
      "content": "<p>Hello! I’m new to kaggle competitions and specifically code competitions like this one which internet access will be disabled during test phase!<br>\nSo, how should we install custom packages?</p>",
      "rawMarkdown": "Hello! I’m new to kaggle competitions and specifically code competitions like this one which internet access will be disabled during test phase!\nSo, how should we install custom packages?",
      "votes": null
    },
    {
      "id": "1807749",
      "postDate": "06/01/2022 09:42:55",
      "content": "<p>So you need to prepare a wheel for the Python version that is used in the notebooks. Pack it inside a dataset that you attach to the notebook and install it from this location:</p>\n<pre><code>!pip install path/to/the/package/your_package.whl\n</code></pre>\n<p>This would be one way how to do it. I tested this and it works.</p>",
      "rawMarkdown": "So you need to prepare a wheel for the Python version that is used in the notebooks. Pack it inside a dataset that you attach to the notebook and install it from this location:\n\n```\n!pip install path/to/the/package/your_package.whl\n```\n\nThis would be one way how to do it. I tested this and it works.",
      "votes": null
    },
    {
      "id": "1807755",
      "postDate": "06/01/2022 09:53:53",
      "content": "<p>Thank You! I will try it 🙏</p>",
      "rawMarkdown": "Thank You! I will try it 🙏",
      "votes": null
    },
    {
      "id": "1809488",
      "postDate": "06/02/2022 17:52:38",
      "content": "<p>Hello <a href=\"https://www.kaggle.com/alireza9\" target=\"_blank\">@alireza9</a> </p>\n<p>Please refer to this step by step guide by Chris on installing custom packages without internet. It is very helpful.<br>\n<a href=\"https://www.kaggle.com/competitions/severstal-steel-defect-detection/discussion/113195\" target=\"_blank\">https://www.kaggle.com/competitions/severstal-steel-defect-detection/discussion/113195</a></p>\n<p>Thank you!</p>",
      "rawMarkdown": "Hello @alireza9 \n\nPlease refer to this step by step guide by Chris on installing custom packages without internet. It is very helpful.\nhttps://www.kaggle.com/competitions/severstal-steel-defect-detection/discussion/113195\n\nThank you!",
      "votes": null
    },
    {
      "id": "1809610",
      "postDate": "06/02/2022 21:09:14",
      "content": "<p>Thanks a lot 👍 very useful </p>",
      "rawMarkdown": "Thanks a lot 👍 very useful",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1807749,
      "author_name": "paweljankiewicz",
      "author_url": "",
      "post_date": "06/01/2022 09:42:55",
      "content": "<p>So you need to prepare a wheel for the Python version that is used in the notebooks. Pack it inside a dataset that you attach to the notebook and install it from this location:</p>\n<pre><code>!pip install path/to/the/package/your_package.whl\n</code></pre>\n<p>This would be one way how to do it. I tested this and it works.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1807755,
          "author_name": "alireza9",
          "author_url": "",
          "post_date": "06/01/2022 09:53:53",
          "content": "<p>Thank You! I will try it 🙏</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1809488,
      "author_name": "sudalairajkumar",
      "author_url": "",
      "post_date": "06/02/2022 17:52:38",
      "content": "<p>Hello <a href=\"https://www.kaggle.com/alireza9\" target=\"_blank\">@alireza9</a> </p>\n<p>Please refer to this step by step guide by Chris on installing custom packages without internet. It is very helpful.<br>\n<a href=\"https://www.kaggle.com/competitions/severstal-steel-defect-detection/discussion/113195\" target=\"_blank\">https://www.kaggle.com/competitions/severstal-steel-defect-detection/discussion/113195</a></p>\n<p>Thank you!</p>",
      "votes": null,
      "replies": [
        {
          "id": 1809610,
          "author_name": "alireza9",
          "author_url": "",
          "post_date": "06/02/2022 21:09:14",
          "content": "<p>Thanks a lot 👍 very useful </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1807653": "Hello! I’m new to kaggle competitions and specifically code competitions like this one which internet access will be disabled during test phase!\nSo, how should we install custom packages?",
    "1807749": "So you need to prepare a wheel for the Python version that is used in the notebooks. Pack it inside a dataset that you attach to the notebook and install it from this location:\n\n```\n!pip install path/to/the/package/your_package.whl\n```\n\nThis would be one way how to do it. I tested this and it works.",
    "1807755": "Thank You! I will try it 🙏",
    "1809488": "Hello @alireza9 \n\nPlease refer to this step by step guide by Chris on installing custom packages without internet. It is very helpful.\nhttps://www.kaggle.com/competitions/severstal-steel-defect-detection/discussion/113195\n\nThank you!",
    "1809610": "Thanks a lot 👍 very useful"
  },
  "source": "meta"
}