{
  "id": 226360,
  "title": "Procedure to offline install any python library.",
  "url": "/competitions/hubmap-kidney-segmentation/discussion/226360",
  "author_name": "",
  "post_date": "2021-03-16T09:01:28.318398700Z",
  "votes": 15,
  "comment_count": 2,
  "views": 0,
  "content": "<p>By following these steps you can offline install any python library. Lets install segmentation model pytorch offline. <a href=\"https://github.com/qubvel/segmentation_models.pytorch\" target=\"_blank\">https://github.com/qubvel/segmentation_models.pytorch</a></p>\n<p>Step 1. Create a notebook with internet enabled to download library and its dependencies. example:-<br>\n<a href=\"https://www.kaggle.com/raghaw/download-segmentation-model-pytorch-packages\" target=\"_blank\">https://www.kaggle.com/raghaw/download-segmentation-model-pytorch-packages</a></p>\n<p>Step 2. Create a New notebook with internet disabled for offline installation and add the notebook created in step 1 as dataset and install the packages downloaded in it.<br>\nexample:-<a href=\"https://www.kaggle.com/raghaw/offline-install-segmentation-model-pytorch\" target=\"_blank\">https://www.kaggle.com/raghaw/offline-install-segmentation-model-pytorch</a></p>",
  "messages": [
    {
      "id": "1240158",
      "postDate": "03/16/2021 09:01:28",
      "content": "<p>By following these steps you can offline install any python library. Lets install segmentation model pytorch offline. <a href=\"https://github.com/qubvel/segmentation_models.pytorch\" target=\"_blank\">https://github.com/qubvel/segmentation_models.pytorch</a></p>\n<p>Step 1. Create a notebook with internet enabled to download library and its dependencies. example:-<br>\n<a href=\"https://www.kaggle.com/raghaw/download-segmentation-model-pytorch-packages\" target=\"_blank\">https://www.kaggle.com/raghaw/download-segmentation-model-pytorch-packages</a></p>\n<p>Step 2. Create a New notebook with internet disabled for offline installation and add the notebook created in step 1 as dataset and install the packages downloaded in it.<br>\nexample:-<a href=\"https://www.kaggle.com/raghaw/offline-install-segmentation-model-pytorch\" target=\"_blank\">https://www.kaggle.com/raghaw/offline-install-segmentation-model-pytorch</a></p>",
      "rawMarkdown": "By following these steps you can offline install any python library. Lets install segmentation model pytorch offline. https://github.com/qubvel/segmentation_models.pytorch\n\nStep 1. Create a notebook with internet enabled to download library and its dependencies. example:-\nhttps://www.kaggle.com/raghaw/download-segmentation-model-pytorch-packages\n\nStep 2. Create a New notebook with internet disabled for offline installation and add the notebook created in step 1 as dataset and install the packages downloaded in it.\nexample:-https://www.kaggle.com/raghaw/offline-install-segmentation-model-pytorch",
      "votes": null
    },
    {
      "id": "1240350",
      "postDate": "03/16/2021 11:43:15",
      "content": "<p>Thanks, interesting way. But I did it differently. <br>\nI used <code>pip download</code> to local folder, then upload this folder as dataset and add to notebook. Link for dataset with segmentation models: <a href=\"https://www.kaggle.com/rizhiyandriy/python-pack\" target=\"_blank\">https://www.kaggle.com/rizhiyandriy/python-pack</a></p>\n<p>In notebook I just install package from dataset:<br>\n<code>!pip install ../input/python-pack/packages/efficientnet_pytorch-0.6.3/</code><br>\n<code>!pip install ../input/python-pack/packages/pretrainedmodels-0.7.4/</code><br>\n<code>!pip install --no-index</code><br>\n<code>--find-links ../input/python-pack/packages</code><br>\n<code>../input/python-pack/packages/segmentation_models_pytorch-0.1.3-py3-none-any.whl</code></p>",
      "rawMarkdown": "Thanks, interesting way. But I did it differently. \nI used `pip download` to local folder, then upload this folder as dataset and add to notebook. Link for dataset with segmentation models: https://www.kaggle.com/rizhiyandriy/python-pack\n\n\nIn notebook I just install package from dataset:\n`!pip install ../input/python-pack/packages/efficientnet_pytorch-0.6.3/ `\n`!pip install ../input/python-pack/packages/pretrainedmodels-0.7.4/ `\n`!pip install --no-index `\n`--find-links ../input/python-pack/packages `\n`../input/python-pack/packages/segmentation_models_pytorch-0.1.3-py3-none-any.whl`",
      "votes": null
    },
    {
      "id": "1275027",
      "postDate": "04/15/2021 20:27:16",
      "content": "<p>Very smart way! Thanks!</p>",
      "rawMarkdown": "Very smart way! Thanks!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1240350,
      "author_name": "rizhiyandriy",
      "author_url": "",
      "post_date": "03/16/2021 11:43:15",
      "content": "<p>Thanks, interesting way. But I did it differently. <br>\nI used <code>pip download</code> to local folder, then upload this folder as dataset and add to notebook. Link for dataset with segmentation models: <a href=\"https://www.kaggle.com/rizhiyandriy/python-pack\" target=\"_blank\">https://www.kaggle.com/rizhiyandriy/python-pack</a></p>\n<p>In notebook I just install package from dataset:<br>\n<code>!pip install ../input/python-pack/packages/efficientnet_pytorch-0.6.3/</code><br>\n<code>!pip install ../input/python-pack/packages/pretrainedmodels-0.7.4/</code><br>\n<code>!pip install --no-index</code><br>\n<code>--find-links ../input/python-pack/packages</code><br>\n<code>../input/python-pack/packages/segmentation_models_pytorch-0.1.3-py3-none-any.whl</code></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1275027,
      "author_name": "lililycai",
      "author_url": "",
      "post_date": "04/15/2021 20:27:16",
      "content": "<p>Very smart way! Thanks!</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1240158": "By following these steps you can offline install any python library. Lets install segmentation model pytorch offline. https://github.com/qubvel/segmentation_models.pytorch\n\nStep 1. Create a notebook with internet enabled to download library and its dependencies. example:-\nhttps://www.kaggle.com/raghaw/download-segmentation-model-pytorch-packages\n\nStep 2. Create a New notebook with internet disabled for offline installation and add the notebook created in step 1 as dataset and install the packages downloaded in it.\nexample:-https://www.kaggle.com/raghaw/offline-install-segmentation-model-pytorch",
    "1240350": "Thanks, interesting way. But I did it differently. \nI used `pip download` to local folder, then upload this folder as dataset and add to notebook. Link for dataset with segmentation models: https://www.kaggle.com/rizhiyandriy/python-pack\n\n\nIn notebook I just install package from dataset:\n`!pip install ../input/python-pack/packages/efficientnet_pytorch-0.6.3/ `\n`!pip install ../input/python-pack/packages/pretrainedmodels-0.7.4/ `\n`!pip install --no-index `\n`--find-links ../input/python-pack/packages `\n`../input/python-pack/packages/segmentation_models_pytorch-0.1.3-py3-none-any.whl`",
    "1275027": "Very smart way! Thanks!"
  },
  "source": "meta"
}