{
  "id": 182174,
  "title": "l5kit.data import error [Solved]",
  "url": "/competitions/lyft-motion-prediction-autonomous-vehicles/discussion/182174",
  "author_name": "",
  "post_date": "2020-09-11T14:43:10.219463500Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>After successful installation of l5kit in the new venv, I got the following issue:</p>\n<pre><code>Python 3.7.5 (default, Oct 25 2019, 15:51:11) \n[GCC 7.3.0] :: Anaconda, Inc. on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n&gt;&gt;&gt; import l5kit\n&gt;&gt;&gt; import l5kit.data\nIllegal instruction (core dumped)\n</code></pre>\n<p>Any ideas?</p>\n<p>UPD: I managed to fix this by downgrading numcodecs from 0.7.1 to 0.6.0</p>",
  "messages": [
    {
      "id": "1006773",
      "postDate": "09/11/2020 14:43:10",
      "content": "<p>After successful installation of l5kit in the new venv, I got the following issue:</p>\n<pre><code>Python 3.7.5 (default, Oct 25 2019, 15:51:11) \n[GCC 7.3.0] :: Anaconda, Inc. on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n&gt;&gt;&gt; import l5kit\n&gt;&gt;&gt; import l5kit.data\nIllegal instruction (core dumped)\n</code></pre>\n<p>Any ideas?</p>\n<p>UPD: I managed to fix this by downgrading numcodecs from 0.7.1 to 0.6.0</p>",
      "rawMarkdown": "After successful installation of l5kit in the new venv, I got the following issue:\n\n```\nPython 3.7.5 (default, Oct 25 2019, 15:51:11) \n[GCC 7.3.0] :: Anaconda, Inc. on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> import l5kit\n>>> import l5kit.data\nIllegal instruction (core dumped)\n```\n\n\nAny ideas?\n\nUPD: I managed to fix this by downgrading numcodecs from 0.7.1 to 0.6.0",
      "votes": null
    },
    {
      "id": "1007194",
      "postDate": "09/11/2020 23:05:05",
      "content": "<p>l5kit.<strong>version</strong> is 1.0.6?<br>\nI've been doing import l5kit, l5kit.data in the kaggle environment, but the comma shouldn't break it</p>\n<p>Maybe check if l5kit.data is already loaded after the first import</p>\n<blockquote>\n  <p>import l5kit<br>\n  help(l5kit.data) ##i think this works?</p>\n</blockquote>",
      "rawMarkdown": "l5kit.__version__ is 1.0.6?\nI've been doing import l5kit, l5kit.data in the kaggle environment, but the comma shouldn't break it\n\nMaybe check if l5kit.data is already loaded after the first import\n>import l5kit\n>help(l5kit.data) ##i think this works?",
      "votes": null
    },
    {
      "id": "1007502",
      "postDate": "09/12/2020 08:08:25",
      "content": "<p>l5kit version is 1.0.6, btw the same error occurs in all versions</p>\n<p>No, it's not loaded and doesn't work:</p>\n<p><code>AttributeError: module 'l5kit' has no attribute 'data'</code></p>",
      "rawMarkdown": "l5kit version is 1.0.6, btw the same error occurs in all versions\n\nNo, it's not loaded and doesn't work:\n\n`AttributeError: module 'l5kit' has no attribute 'data'`",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1007194,
      "author_name": "n3n77i",
      "author_url": "",
      "post_date": "09/11/2020 23:05:05",
      "content": "<p>l5kit.<strong>version</strong> is 1.0.6?<br>\nI've been doing import l5kit, l5kit.data in the kaggle environment, but the comma shouldn't break it</p>\n<p>Maybe check if l5kit.data is already loaded after the first import</p>\n<blockquote>\n  <p>import l5kit<br>\n  help(l5kit.data) ##i think this works?</p>\n</blockquote>",
      "votes": null,
      "replies": [
        {
          "id": 1007502,
          "author_name": "arthurds",
          "author_url": "",
          "post_date": "09/12/2020 08:08:25",
          "content": "<p>l5kit version is 1.0.6, btw the same error occurs in all versions</p>\n<p>No, it's not loaded and doesn't work:</p>\n<p><code>AttributeError: module 'l5kit' has no attribute 'data'</code></p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1006773": "After successful installation of l5kit in the new venv, I got the following issue:\n\n```\nPython 3.7.5 (default, Oct 25 2019, 15:51:11) \n[GCC 7.3.0] :: Anaconda, Inc. on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> import l5kit\n>>> import l5kit.data\nIllegal instruction (core dumped)\n```\n\n\nAny ideas?\n\nUPD: I managed to fix this by downgrading numcodecs from 0.7.1 to 0.6.0",
    "1007194": "l5kit.__version__ is 1.0.6?\nI've been doing import l5kit, l5kit.data in the kaggle environment, but the comma shouldn't break it\n\nMaybe check if l5kit.data is already loaded after the first import\n>import l5kit\n>help(l5kit.data) ##i think this works?",
    "1007502": "l5kit version is 1.0.6, btw the same error occurs in all versions\n\nNo, it's not loaded and doesn't work:\n\n`AttributeError: module 'l5kit' has no attribute 'data'`"
  },
  "source": "meta"
}