{
  "id": 224305,
  "title": "Pip install extra python packages with no internet enabled",
  "url": "/competitions/hpa-single-cell-image-classification/discussion/224305",
  "author_name": "Andrew Scholan",
  "post_date": "2021-03-07T18:37:38.240000",
  "votes": 6,
  "comment_count": 0,
  "views": 0,
  "content": "<p>All,</p>\n<p>I wanted to be able to try out the <a href=\"https://github.com/MouseLand/cellpose\" target=\"_blank\">cellpose</a> package for cell segmentation. This was however not in the standard docker image.</p>\n<p>Usually !Pip install needs an internet connection but various discussion posts across Kaggle gave clues as to a solution, although none totally solved the cellpose package loading.</p>\n<p>Eventually I solved this and thought it might be useful to others.</p>\n<p>See my solution in this notebook: <a href=\"https://www.kaggle.com/andrewscholan/offline-package-wheeler-public\" target=\"_blank\">Offline Package Wheeler (public)</a>.</p>\n<p>Cheers,<br>\nAndrew.</p>\n<p>Credits to the following posts for clues: <a href=\"https://www.kaggle.com/c/severstal-steel-defect-detection/discussion/113195\" target=\"_blank\">How to Install Without Internet</a>, <a href=\"https://www.kaggle.com/samuelepino/pip-installing-packages-with-no-internet/data\" target=\"_blank\">pip-installing packages with no internet</a>, and <a href=\"https://www.kaggle.com/samuelepino/pip-downloading-packages-to-your-local-machine?scriptVersionId=29576961\" target=\"_blank\">pip-downloading packages to your local machine</a></p>",
  "messages": [
    {
      "id": 1230024,
      "postDate": "2021-03-07T18:37:38.240Z",
      "content": "<p>All,</p>\n<p>I wanted to be able to try out the <a href=\"https://github.com/MouseLand/cellpose\" target=\"_blank\">cellpose</a> package for cell segmentation. This was however not in the standard docker image.</p>\n<p>Usually !Pip install needs an internet connection but various discussion posts across Kaggle gave clues as to a solution, although none totally solved the cellpose package loading.</p>\n<p>Eventually I solved this and thought it might be useful to others.</p>\n<p>See my solution in this notebook: <a href=\"https://www.kaggle.com/andrewscholan/offline-package-wheeler-public\" target=\"_blank\">Offline Package Wheeler (public)</a>.</p>\n<p>Cheers,<br>\nAndrew.</p>\n<p>Credits to the following posts for clues: <a href=\"https://www.kaggle.com/c/severstal-steel-defect-detection/discussion/113195\" target=\"_blank\">How to Install Without Internet</a>, <a href=\"https://www.kaggle.com/samuelepino/pip-installing-packages-with-no-internet/data\" target=\"_blank\">pip-installing packages with no internet</a>, and <a href=\"https://www.kaggle.com/samuelepino/pip-downloading-packages-to-your-local-machine?scriptVersionId=29576961\" target=\"_blank\">pip-downloading packages to your local machine</a></p>",
      "rawMarkdown": "All,\n\nI wanted to be able to try out the [cellpose](https://github.com/MouseLand/cellpose) package for cell segmentation. This was however not in the standard docker image.\n\nUsually !Pip install needs an internet connection but various discussion posts across Kaggle gave clues as to a solution, although none totally solved the cellpose package loading.\n\nEventually I solved this and thought it might be useful to others.\n\nSee my solution in this notebook: [Offline Package Wheeler (public)](https://www.kaggle.com/andrewscholan/offline-package-wheeler-public).\n\nCheers,\nAndrew.\n\nCredits to the following posts for clues: [How to Install Without Internet](https://www.kaggle.com/c/severstal-steel-defect-detection/discussion/113195), [pip-installing packages with no internet](https://www.kaggle.com/samuelepino/pip-installing-packages-with-no-internet/data), and [pip-downloading packages to your local machine](https://www.kaggle.com/samuelepino/pip-downloading-packages-to-your-local-machine?scriptVersionId=29576961)",
      "votes": 6
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1230024": "All,\n\nI wanted to be able to try out the [cellpose](https://github.com/MouseLand/cellpose) package for cell segmentation. This was however not in the standard docker image.\n\nUsually !Pip install needs an internet connection but various discussion posts across Kaggle gave clues as to a solution, although none totally solved the cellpose package loading.\n\nEventually I solved this and thought it might be useful to others.\n\nSee my solution in this notebook: [Offline Package Wheeler (public)](https://www.kaggle.com/andrewscholan/offline-package-wheeler-public).\n\nCheers,\nAndrew.\n\nCredits to the following posts for clues: [How to Install Without Internet](https://www.kaggle.com/c/severstal-steel-defect-detection/discussion/113195), [pip-installing packages with no internet](https://www.kaggle.com/samuelepino/pip-installing-packages-with-no-internet/data), and [pip-downloading packages to your local machine](https://www.kaggle.com/samuelepino/pip-downloading-packages-to-your-local-machine?scriptVersionId=29576961)"
  }
}