{
  "id": 186015,
  "title": "[Solved] ModuleNotFoundError: No module named 'l5kit'",
  "url": "/competitions/lyft-motion-prediction-autonomous-vehicles/discussion/186015",
  "author_name": "ww",
  "post_date": "2020-09-22T21:04:29.456000",
  "votes": 0,
  "comment_count": 5,
  "views": 0,
  "content": "<p>I tried to run my notebook kernel for submission but I received:</p>\n<pre><code>ModuleNotFoundError: No module named 'l5kit'\n</code></pre>\n<p><a href=\"https://drive.google.com/file/d/1bb_Z_OQpZ54xysERj-LXp_rXRzyaU9MN/view?usp=sharing\" target=\"_blank\">Screenshot</a></p>\n<p>How should I install <code>l5kit</code> in the kernel to be summitted?</p>",
  "messages": [
    {
      "id": 1023028,
      "postDate": "2020-09-22T22:30:05.857Z",
      "content": "<p><a href=\"https://www.kaggle.com/walkpast\" target=\"_blank\">@walkpast</a> go to add utility script and add 'Kaggle_l5kit' (official) Link here <a href=\"url\" target=\"_blank\">https://www.kaggle.com/philculliton/kaggle-l5kit</a> or 'Lyft - L5Kit (unofficial fix)' a fix to use l5kit with GPU from our beloved <a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a>. Here is the link <a href=\"url\" target=\"_blank\">https://www.kaggle.com/pestipeti/lyft-l5kit-unofficial-fix</a>. If you add one of these as utility script. You will not find that error. </p>",
      "rawMarkdown": "@walkpast go to add utility script and add 'Kaggle_l5kit' (official) Link here [https://www.kaggle.com/philculliton/kaggle-l5kit](url) or 'Lyft - L5Kit (unofficial fix)' a fix to use l5kit with GPU from our beloved @pestipeti. Here is the link [https://www.kaggle.com/pestipeti/lyft-l5kit-unofficial-fix](url). If you add one of these as utility script. You will not find that error. ",
      "votes": 1,
      "replies": [
        {
          "id": 1025372,
          "postDate": "2020-09-24T14:08:31.767Z",
          "content": "<p>Thank you. That solves my issue.</p>",
          "rawMarkdown": "Thank you. That solves my issue."
        }
      ]
    },
    {
      "id": 1025038,
      "postDate": "2020-09-24T09:13:22.540Z",
      "content": "<p>I solved it as following: I added as dataset kaggle-l5kit, then installed it with the following commands</p>\n\n<p>!pip install --no-index -f ../input/kaggle-l5kit pip==20.2.2 &gt;/dev/nul\n!pip install --no-index -f ../input/kaggle-l5kit -U l5kit &gt; /dev/nul</p>\n\n<p>Worked better than the temporary fix used in previous kernels (I paste it below just as documentation)</p>\n\n<h1>os.system('pip uninstall typing -y')</h1>\n\n<p>os.system('pip install --target=/kaggle/working pymap3d==2.1.0')\nos.system('pip install --target=/kaggle/working protobuf==3.12.2')\nos.system('pip install --target=/kaggle/working transforms3d')\nos.system('pip install --target=/kaggle/working zarr')\nos.system('pip install --target=/kaggle/working ptable')</p>\n\n<p>os.system('pip install --no-dependencies --target=/kaggle/working l5kit')</p>",
      "rawMarkdown": "I solved it as following: I added as dataset kaggle-l5kit, then installed it with the following commands\n\n!pip install --no-index -f ../input/kaggle-l5kit pip==20.2.2 &gt;/dev/nul\n!pip install --no-index -f ../input/kaggle-l5kit -U l5kit &gt; /dev/nul\n\nWorked better than the temporary fix used in previous kernels (I paste it below just as documentation)\n\n# os.system('pip uninstall typing -y')\nos.system('pip install --target=/kaggle/working pymap3d==2.1.0')\nos.system('pip install --target=/kaggle/working protobuf==3.12.2')\nos.system('pip install --target=/kaggle/working transforms3d')\nos.system('pip install --target=/kaggle/working zarr')\nos.system('pip install --target=/kaggle/working ptable')\n\nos.system('pip install --no-dependencies --target=/kaggle/working l5kit')",
      "replies": [
        {
          "id": 1025373,
          "postDate": "2020-09-24T14:08:52.960Z",
          "content": "<p>Thank you. This also solves my issue.</p>",
          "rawMarkdown": "Thank you. This also solves my issue."
        }
      ]
    },
    {
      "id": 1022970,
      "postDate": "2020-09-22T21:04:29.457Z",
      "content": "<p>I tried to run my notebook kernel for submission but I received:</p>\n<pre><code>ModuleNotFoundError: No module named 'l5kit'\n</code></pre>\n<p><a href=\"https://drive.google.com/file/d/1bb_Z_OQpZ54xysERj-LXp_rXRzyaU9MN/view?usp=sharing\" target=\"_blank\">Screenshot</a></p>\n<p>How should I install <code>l5kit</code> in the kernel to be summitted?</p>",
      "rawMarkdown": "I tried to run my notebook kernel for submission but I received:\n```\nModuleNotFoundError: No module named 'l5kit'\n```\n\n[Screenshot](https://drive.google.com/file/d/1bb_Z_OQpZ54xysERj-LXp_rXRzyaU9MN/view?usp=sharing)\n\n\nHow should I install `l5kit` in the kernel to be summitted?"
    },
    {
      "id": 1025167,
      "postDate": "2020-09-24T11:32:45.310Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1023028,
      "author_name": "The Brown Iceman",
      "author_url": "",
      "post_date": "2020-09-22T22:30:05.857000",
      "content": "<p><a href=\"https://www.kaggle.com/walkpast\" target=\"_blank\">@walkpast</a> go to add utility script and add 'Kaggle_l5kit' (official) Link here <a href=\"url\" target=\"_blank\">https://www.kaggle.com/philculliton/kaggle-l5kit</a> or 'Lyft - L5Kit (unofficial fix)' a fix to use l5kit with GPU from our beloved <a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a>. Here is the link <a href=\"url\" target=\"_blank\">https://www.kaggle.com/pestipeti/lyft-l5kit-unofficial-fix</a>. If you add one of these as utility script. You will not find that error. </p>",
      "votes": 1,
      "replies": [
        {
          "id": 1025372,
          "author_name": "ww",
          "author_url": "",
          "post_date": "2020-09-24T14:08:31.767000",
          "content": "<p>Thank you. That solves my issue.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1025038,
      "author_name": "Marco B",
      "author_url": "",
      "post_date": "2020-09-24T09:13:22.540000",
      "content": "<p>I solved it as following: I added as dataset kaggle-l5kit, then installed it with the following commands</p>\n\n<p>!pip install --no-index -f ../input/kaggle-l5kit pip==20.2.2 &gt;/dev/nul\n!pip install --no-index -f ../input/kaggle-l5kit -U l5kit &gt; /dev/nul</p>\n\n<p>Worked better than the temporary fix used in previous kernels (I paste it below just as documentation)</p>\n\n<h1>os.system('pip uninstall typing -y')</h1>\n\n<p>os.system('pip install --target=/kaggle/working pymap3d==2.1.0')\nos.system('pip install --target=/kaggle/working protobuf==3.12.2')\nos.system('pip install --target=/kaggle/working transforms3d')\nos.system('pip install --target=/kaggle/working zarr')\nos.system('pip install --target=/kaggle/working ptable')</p>\n\n<p>os.system('pip install --no-dependencies --target=/kaggle/working l5kit')</p>",
      "votes": 0,
      "replies": [
        {
          "id": 1025373,
          "author_name": "ww",
          "author_url": "",
          "post_date": "2020-09-24T14:08:52.960000",
          "content": "<p>Thank you. This also solves my issue.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 1025167,
      "author_name": "",
      "author_url": "",
      "post_date": "2020-09-24T11:32:45.310000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1023028": "@walkpast go to add utility script and add 'Kaggle_l5kit' (official) Link here [https://www.kaggle.com/philculliton/kaggle-l5kit](url) or 'Lyft - L5Kit (unofficial fix)' a fix to use l5kit with GPU from our beloved @pestipeti. Here is the link [https://www.kaggle.com/pestipeti/lyft-l5kit-unofficial-fix](url). If you add one of these as utility script. You will not find that error. ",
    "1025038": "I solved it as following: I added as dataset kaggle-l5kit, then installed it with the following commands\n\n!pip install --no-index -f ../input/kaggle-l5kit pip==20.2.2 &gt;/dev/nul\n!pip install --no-index -f ../input/kaggle-l5kit -U l5kit &gt; /dev/nul\n\nWorked better than the temporary fix used in previous kernels (I paste it below just as documentation)\n\n# os.system('pip uninstall typing -y')\nos.system('pip install --target=/kaggle/working pymap3d==2.1.0')\nos.system('pip install --target=/kaggle/working protobuf==3.12.2')\nos.system('pip install --target=/kaggle/working transforms3d')\nos.system('pip install --target=/kaggle/working zarr')\nos.system('pip install --target=/kaggle/working ptable')\n\nos.system('pip install --no-dependencies --target=/kaggle/working l5kit')",
    "1022970": "I tried to run my notebook kernel for submission but I received:\n```\nModuleNotFoundError: No module named 'l5kit'\n```\n\n[Screenshot](https://drive.google.com/file/d/1bb_Z_OQpZ54xysERj-LXp_rXRzyaU9MN/view?usp=sharing)\n\n\nHow should I install `l5kit` in the kernel to be summitted?",
    "1025167": ""
  }
}