{
  "id": 198435,
  "title": "How to import external library?",
  "url": "/competitions/cassava-leaf-disease-classification/discussion/198435",
  "author_name": "",
  "post_date": "2020-11-21T07:53:46.447242Z",
  "votes": 2,
  "comment_count": 7,
  "views": 0,
  "content": "<p>Hi, I want to use an external library and I tried to upload it to the kernel but I can not install it.<br>\nHow can I install an external lib?<br>\nThanks</p>",
  "messages": [
    {
      "id": "1085796",
      "postDate": "11/21/2020 07:53:46",
      "content": "<p>Hi, I want to use an external library and I tried to upload it to the kernel but I can not install it.<br>\nHow can I install an external lib?<br>\nThanks</p>",
      "rawMarkdown": "Hi, I want to use an external library and I tried to upload it to the kernel but I can not install it.\nHow can I install an external lib?\nThanks",
      "votes": null
    },
    {
      "id": "1085802",
      "postDate": "11/21/2020 07:59:12",
      "content": "<p>make a dataset with the clone of the repository or with the wheel and install from it.</p>",
      "rawMarkdown": "make a dataset with the clone of the repository or with the wheel and install from it.",
      "votes": null
    },
    {
      "id": "1086118",
      "postDate": "11/21/2020 12:00:56",
      "content": "<p>Hi, I've git clone this repo <a href=\"https://github.com/arogozhnikov/einops\" target=\"_blank\">https://github.com/arogozhnikov/einops</a> to /kaggle/input/ but when I run python setup.py install, it failed because I have no permission to write file in this location. How do you get through this?</p>",
      "rawMarkdown": "Hi, I've git clone this repo https://github.com/arogozhnikov/einops to /kaggle/input/ but when I run python setup.py install, it failed because I have no permission to write file in this location. How do you get through this?",
      "votes": null
    },
    {
      "id": "1086269",
      "postDate": "11/21/2020 14:29:57",
      "content": "<p>Oh thanks for posting the query, I had the same one which just got resolved</p>",
      "rawMarkdown": "Oh thanks for posting the query, I had the same one which just got resolved",
      "votes": null
    },
    {
      "id": "1086271",
      "postDate": "11/21/2020 14:31:31",
      "content": "<p>There is this dataset: <a href=\"https://www.kaggle.com/etareduce/l5kitwithpytorchlightning\" target=\"_blank\">https://www.kaggle.com/etareduce/l5kitwithpytorchlightning</a></p>\n<p>You can add it to your kernel and install einops from the wheel there.</p>",
      "rawMarkdown": "There is this dataset: https://www.kaggle.com/etareduce/l5kitwithpytorchlightning\n\nYou can add it to your kernel and install einops from the wheel there.",
      "votes": null
    },
    {
      "id": "1086426",
      "postDate": "11/21/2020 17:09:14",
      "content": "<p>this might be useful: </p>\n<p><a href=\"https://www.kaggle.com/c/severstal-steel-defect-detection/discussion/113195\" target=\"_blank\">https://www.kaggle.com/c/severstal-steel-defect-detection/discussion/113195</a></p>",
      "rawMarkdown": "this might be useful: \n\nhttps://www.kaggle.com/c/severstal-steel-defect-detection/discussion/113195",
      "votes": null
    },
    {
      "id": "1086493",
      "postDate": "11/21/2020 18:16:15",
      "content": "<p>with the command pip inside the notebook<br>\nej: !pip install ../input/timm-0-1-30/timm-0.1.30-py3-none-any.whl<br>\nwhere the library name is timm-0-1-30</p>",
      "rawMarkdown": "with the command pip inside the notebook\nej: !pip install ../input/timm-0-1-30/timm-0.1.30-py3-none-any.whl\nwhere the library name is timm-0-1-30",
      "votes": null
    },
    {
      "id": "1086557",
      "postDate": "11/21/2020 19:21:37",
      "content": "<p>At the bottom of the notebook you'll find the <strong>Console</strong> and type in the command:</p>\n<p><code>pip install &lt;package_name&gt;</code></p>\n<p>And hit enter.</p>",
      "rawMarkdown": "At the bottom of the notebook you'll find the **Console** and type in the command:\n\n`pip install <package_name>`\n\nAnd hit enter.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1085802,
      "author_name": "artgor",
      "author_url": "",
      "post_date": "11/21/2020 07:59:12",
      "content": "<p>make a dataset with the clone of the repository or with the wheel and install from it.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1086118,
          "author_name": "thanhtinqn97",
          "author_url": "",
          "post_date": "11/21/2020 12:00:56",
          "content": "<p>Hi, I've git clone this repo <a href=\"https://github.com/arogozhnikov/einops\" target=\"_blank\">https://github.com/arogozhnikov/einops</a> to /kaggle/input/ but when I run python setup.py install, it failed because I have no permission to write file in this location. How do you get through this?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1086271,
          "author_name": "artgor",
          "author_url": "",
          "post_date": "11/21/2020 14:31:31",
          "content": "<p>There is this dataset: <a href=\"https://www.kaggle.com/etareduce/l5kitwithpytorchlightning\" target=\"_blank\">https://www.kaggle.com/etareduce/l5kitwithpytorchlightning</a></p>\n<p>You can add it to your kernel and install einops from the wheel there.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1086269,
      "author_name": "aurkomukhopadhyay",
      "author_url": "",
      "post_date": "11/21/2020 14:29:57",
      "content": "<p>Oh thanks for posting the query, I had the same one which just got resolved</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1086426,
      "author_name": "krishnakantsingh14",
      "author_url": "",
      "post_date": "11/21/2020 17:09:14",
      "content": "<p>this might be useful: </p>\n<p><a href=\"https://www.kaggle.com/c/severstal-steel-defect-detection/discussion/113195\" target=\"_blank\">https://www.kaggle.com/c/severstal-steel-defect-detection/discussion/113195</a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1086493,
      "author_name": "marcelosanchezortega",
      "author_url": "",
      "post_date": "11/21/2020 18:16:15",
      "content": "<p>with the command pip inside the notebook<br>\nej: !pip install ../input/timm-0-1-30/timm-0.1.30-py3-none-any.whl<br>\nwhere the library name is timm-0-1-30</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1086557,
      "author_name": "malikn",
      "author_url": "",
      "post_date": "11/21/2020 19:21:37",
      "content": "<p>At the bottom of the notebook you'll find the <strong>Console</strong> and type in the command:</p>\n<p><code>pip install &lt;package_name&gt;</code></p>\n<p>And hit enter.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1085796": "Hi, I want to use an external library and I tried to upload it to the kernel but I can not install it.\nHow can I install an external lib?\nThanks",
    "1085802": "make a dataset with the clone of the repository or with the wheel and install from it.",
    "1086118": "Hi, I've git clone this repo https://github.com/arogozhnikov/einops to /kaggle/input/ but when I run python setup.py install, it failed because I have no permission to write file in this location. How do you get through this?",
    "1086269": "Oh thanks for posting the query, I had the same one which just got resolved",
    "1086271": "There is this dataset: https://www.kaggle.com/etareduce/l5kitwithpytorchlightning\n\nYou can add it to your kernel and install einops from the wheel there.",
    "1086426": "this might be useful: \n\nhttps://www.kaggle.com/c/severstal-steel-defect-detection/discussion/113195",
    "1086493": "with the command pip inside the notebook\nej: !pip install ../input/timm-0-1-30/timm-0.1.30-py3-none-any.whl\nwhere the library name is timm-0-1-30",
    "1086557": "At the bottom of the notebook you'll find the **Console** and type in the command:\n\n`pip install <package_name>`\n\nAnd hit enter."
  },
  "source": "meta"
}