{
  "id": 55753,
  "title": "This is how to use trackml library.",
  "url": "/competitions/trackml-particle-identification/discussion/55753",
  "author_name": "Wesam Elshamy",
  "post_date": "2018-05-01T10:51:45.639000",
  "votes": 24,
  "comment_count": 22,
  "views": 0,
  "content": "<p>I noticed some participants had trouble loading the data using <a href=\"https://github.com/LAL/trackml-library\"><code>trackml</code>-library</a>, which was created for this purpose.  Here is how to do it:</p>\n\n<p>Under your kernel's Settings tab -&gt; Add a custom package -&gt; GitHub user/repo (LAL/trackml-library)</p>\n\n<p>Restart your kernel' s session and use the following code stub to load the data:</p>\n\n<pre><code>from trackml.dataset import load_event\n\nhits, cells, particles, truth = load_event('../input/train_1/event000001000')\n</code></pre>",
  "messages": [
    {
      "id": 321459,
      "postDate": "2018-05-01T10:51:45.640Z",
      "content": "<p>I noticed some participants had trouble loading the data using <a href=\"https://github.com/LAL/trackml-library\"><code>trackml</code>-library</a>, which was created for this purpose.  Here is how to do it:</p>\n\n<p>Under your kernel's Settings tab -&gt; Add a custom package -&gt; GitHub user/repo (LAL/trackml-library)</p>\n\n<p>Restart your kernel' s session and use the following code stub to load the data:</p>\n\n<pre><code>from trackml.dataset import load_event\n\nhits, cells, particles, truth = load_event('../input/train_1/event000001000')\n</code></pre>",
      "rawMarkdown": "I noticed some participants had trouble loading the data using [`trackml`-library][trackml], which was created for this purpose.  Here is how to do it:\n\nUnder your kernel's Settings tab -&gt; Add a custom package -&gt; GitHub user/repo (LAL/trackml-library)\n\nRestart your kernel' s session and use the following code stub to load the data:\n\n    from trackml.dataset import load_event\n    \n    hits, cells, particles, truth = load_event('../input/train_1/event000001000')\n\n[trackml]: https://github.com/LAL/trackml-library",
      "votes": 24
    },
    {
      "id": 321911,
      "postDate": "2018-05-02T06:13:23.057Z",
      "content": "<p>I'm relatively new to Kaggle so figuring out anything was non-intuitive for me. I'm seeing this Topic just now, but for others who want explicit directions which I did not have:</p>\n\n<ol>\n<li>Click the [&lt;] button at top-right of Kernel screen  </li>\n<li>Click Settings  </li>\n<li>Enter \"LAL/trackml-library\", e.g., into \"GitHub user/repo\" space at the bottom  </li>\n<li>Click the (-&gt;) button to the left of that  </li>\n<li>Restart Kernel by clicking the circular refresh/recycle-y button at the bottom-right of the screen, in the Console  </li>\n<li>Custom libraries will now import when imported, as shown here by Wesam</li>\n</ol>",
      "rawMarkdown": "I'm relatively new to Kaggle so figuring out anything was non-intuitive for me. I'm seeing this Topic just now, but for others who want explicit directions which I did not have:\n\n1. Click the [&lt;] button at top-right of Kernel screen  \n2. Click Settings  \n3. Enter \"LAL/trackml-library\", e.g., into \"GitHub user/repo\" space at the bottom  \n4. Click the (-&gt;) button to the left of that  \n5. Restart Kernel by clicking the circular refresh/recycle-y button at the bottom-right of the screen, in the Console  \n6. Custom libraries will now import when imported, as shown here by Wesam",
      "votes": 8,
      "replies": [
        {
          "id": 321930,
          "postDate": "2018-05-02T07:07:23.320Z",
          "content": "<p>Thanks Joshua for the detailed directions.</p>",
          "rawMarkdown": "Thanks Joshua for the detailed directions."
        }
      ]
    },
    {
      "id": 333604,
      "postDate": "2018-05-25T13:39:33.320Z",
      "content": "<p>What is weird is that my kernel works fine when I run it interactively, and not when I commit and run.  This is a very bad user experience.</p>",
      "rawMarkdown": "What is weird is that my kernel works fine when I run it interactively, and not when I commit and run.  This is a very bad user experience.",
      "replies": [
        {
          "id": 336428,
          "postDate": "2018-05-31T17:31:34Z",
          "content": "<p>Same happens to me. It runs fine interactively, but not when I commit and run. Also importing LAL/trackml-library keeps on failing, several times in a row.</p>",
          "rawMarkdown": "Same happens to me. It runs fine interactively, but not when I commit and run. Also importing LAL/trackml-library keeps on failing, several times in a row."
        },
        {
          "id": 336448,
          "postDate": "2018-05-31T18:34:28.210Z",
          "content": "<p>You have to follow the instructions provided below to install it on your kernel environment: <a href=\"https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911\">https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911</a></p>",
          "rawMarkdown": "You have to follow the instructions provided below to install it on your kernel environment: https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911"
        },
        {
          "id": 336489,
          "postDate": "2018-05-31T20:29:30.680Z",
          "content": "<p>That's what I have been trying for hours now. It had worked before, but for my new kernels today it is aborting at step 4 with the same \"failed\" message that Willian Werner had reported above. Also I'm observing that my older notebook kernels work interactively, but not when I use the commit-button - then it doesn't find the trackml package - as you wrote above.</p>",
          "rawMarkdown": "That's what I have been trying for hours now. It had worked before, but for my new kernels today it is aborting at step 4 with the same \"failed\" message that Willian Werner had reported above. Also I'm observing that my older notebook kernels work interactively, but not when I use the commit-button - then it doesn't find the trackml package - as you wrote above."
        }
      ]
    },
    {
      "id": 331303,
      "postDate": "2018-05-20T22:56:13.303Z",
      "content": "<p>Anyone with the same problem?</p>\n\n<p><img src=\"https://i.imgur.com/PR8AxsM.png\" alt=\"I cannot add the library\"></p>",
      "rawMarkdown": "Anyone with the same problem?\n\n![I cannot add the library][1]\n\n\n  [1]: https://i.imgur.com/PR8AxsM.png",
      "replies": [
        {
          "id": 331307,
          "postDate": "2018-05-20T23:23:41.863Z",
          "content": "<p>When I got that error (twice?) I just tried again it and worked. I'm not sure the cause, though maybe it happened when I tried to re-add the same package. Refresh the browser page and try again?</p>",
          "rawMarkdown": "When I got that error (twice?) I just tried again it and worked. I'm not sure the cause, though maybe it happened when I tried to re-add the same package. Refresh the browser page and try again?",
          "votes": 1
        },
        {
          "id": 331317,
          "postDate": "2018-05-21T01:03:46.790Z",
          "content": "<p>package name：trackml</p>",
          "rawMarkdown": "package name：trackml"
        },
        {
          "id": 333082,
          "postDate": "2018-05-24T11:20:14.880Z",
          "content": "<p>It did'n work :(\nNeither options. \nI'll do it offline.\nThank you!!!</p>",
          "rawMarkdown": "It did'n work :(\nNeither options. \nI'll do it offline.\nThank you!!!"
        }
      ]
    },
    {
      "id": 329777,
      "postDate": "2018-05-17T06:47:35Z",
      "content": "<p>I have try many times in kaggle kernel, can't succed.</p>\n\n<ul>\n<li>\n 5 import os\n  6 import trackml\n----&gt; 7 from trackml.dataset import load_event, load_dataset\n  8 from trackml.score import score_event\n  9 </li>\n</ul>\n\n<p>ModuleNotFoundError: No module named 'trackml.dataset'</p>\n\n<hr>",
      "rawMarkdown": "I have try many times in kaggle kernel, can't succed.\n\n - \n     5 import os\n      6 import trackml\n----&gt; 7 from trackml.dataset import load_event, load_dataset\n      8 from trackml.score import score_event\n      9 \n\nModuleNotFoundError: No module named 'trackml.dataset'\n\n----------\n",
      "replies": [
        {
          "id": 329785,
          "postDate": "2018-05-17T07:00:25.670Z",
          "content": "<p>Did you follow the <a href=\"https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911\">detailed steps</a> by <a href=\"https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911\">Joshua Bonatt's comment above</a>?</p>",
          "rawMarkdown": "Did you follow the [detailed steps][steps] by [Joshua Bonatt's comment above][steps]?\n\n[steps]: https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911"
        },
        {
          "id": 329787,
          "postDate": "2018-05-17T07:03:59.313Z",
          "content": "<p>Yes, I have install the trackml, and restart Kernel.\nI don't know why the trackml.dataset is wrong?</p>",
          "rawMarkdown": "Yes, I have install the trackml, and restart Kernel.\nI don't know why the trackml.dataset is wrong?"
        },
        {
          "id": 329793,
          "postDate": "2018-05-17T07:15:47.337Z",
          "content": "<p>Do you a get a message saying it was successfully installed?\nTurn off GPU support if it's on, and try again.</p>",
          "rawMarkdown": "Do you a get a message saying it was successfully installed?\nTurn off GPU support if it's on, and try again."
        }
      ]
    },
    {
      "id": 326439,
      "postDate": "2018-05-09T17:55:35.793Z",
      "content": "<p>I tried to install the library via the command line but without success</p>\n\n<blockquote>\n  <p>(kaggle) sl@instance-1:~$ pip install --user\n  <a href=\"https://github.com/LAL/trackml-library\">https://github.com/LAL/trackml-library</a></p>\n  \n  <p>Collecting <a href=\"https://github.com/LAL/trackml-library\">https://github.com/LAL/trackml-library</a>   Downloading\n  <a href=\"https://github.com/LAL/trackml-library\">https://github.com/LAL/trackml-library</a>\n       / 81kB 152kB/s   Cannot unpack file /tmp/pip-w165b8zv-unpack/trackml-library (downloaded from\n  /tmp/pip-h0xb996a-build, content-type: text/html; charset=utf-8);\n  cannot detect archive format Cannot determine archive format of\n  /tmp/pip-h0xb996a-build</p>\n</blockquote>\n\n<p>What am I doing wrong?</p>",
      "rawMarkdown": "I tried to install the library via the command line but without success\n\n\n&gt; (kaggle) sl@instance-1:~$ pip install --user\n&gt; https://github.com/LAL/trackml-library\n&gt; \n&gt; Collecting https://github.com/LAL/trackml-library   Downloading\n&gt; https://github.com/LAL/trackml-library\n&gt;      / 81kB 152kB/s   Cannot unpack file /tmp/pip-w165b8zv-unpack/trackml-library (downloaded from\n&gt; /tmp/pip-h0xb996a-build, content-type: text/html; charset=utf-8);\n&gt; cannot detect archive format Cannot determine archive format of\n&gt; /tmp/pip-h0xb996a-build\n\n\nWhat am I doing wrong?",
      "replies": [
        {
          "id": 326445,
          "postDate": "2018-05-09T18:17:36.057Z",
          "content": "<p>You don't need to run any commands in a shell.  Joshua Bonatt gave <a href=\"https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911\">step by step instructions</a> on how to do it earlier in this thread.  Please follow them and see if that helps.</p>",
          "rawMarkdown": "You don't need to run any commands in a shell.  Joshua Bonatt gave [step by step instructions][inst] on how to do it earlier in this thread.  Please follow them and see if that helps.\n\n[inst]: https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911",
          "votes": 2
        },
        {
          "id": 326828,
          "postDate": "2018-05-10T11:45:47.777Z",
          "rawMarkdown": "",
          "isDeleted": true
        },
        {
          "id": 326830,
          "postDate": "2018-05-10T11:49:13.757Z",
          "content": "<p>But these are instructions for those who are running the kernel on Kaggle. I am trying to use this library locally, on my machine or maybe on the cloud. I followed the instructions from this link <a href=\"https://github.com/LAL/trackml-library\">trackml</a>. I want to know whether what I've done is correct or not.</p>",
          "rawMarkdown": "But these are instructions for those who are running the kernel on Kaggle. I am trying to use this library locally, on my machine or maybe on the cloud. I followed the instructions from this link [trackml][1]. I want to know whether what I've done is correct or not.\n\n\n  [1]: https://github.com/LAL/trackml-library",
          "votes": 1
        },
        {
          "id": 326845,
          "postDate": "2018-05-10T12:23:09.877Z",
          "content": "<p>You need to use the proper git URL:</p>\n\n<p><code>pip install --user git+https://github.com/LAL/trackml-library.git</code></p>",
          "rawMarkdown": "You need to use the proper git URL:\n\n`pip install --user git+https://github.com/LAL/trackml-library.git`",
          "votes": 4
        },
        {
          "id": 327501,
          "postDate": "2018-05-11T17:44:31.287Z",
          "content": "<p>Thank you!</p>",
          "rawMarkdown": "Thank you!"
        }
      ]
    },
    {
      "id": 323325,
      "postDate": "2018-05-04T20:49:54.190Z",
      "content": "<p>Thanks for the details. When I try it, I get the following:\nError: 'buzfifer/trackml@sha256:c7ca7b762324b681cf81ea9de23aa87a01e5b67de62f2ac2e542d29c67c352eb' is not a valid parent image name\nI have tried everything I could think of but I keep getting this error. Any suggestions.</p>",
      "rawMarkdown": "Thanks for the details. When I try it, I get the following:\nError: 'buzfifer/trackml@sha256:c7ca7b762324b681cf81ea9de23aa87a01e5b67de62f2ac2e542d29c67c352eb' is not a valid parent image name\nI have tried everything I could think of but I keep getting this error. Any suggestions.",
      "replies": [
        {
          "id": 323329,
          "postDate": "2018-05-04T20:55:43.460Z",
          "content": "<p>It looks like you're changing the Docker image.  You don't have to.  Just enter the package name <code>LAL/trackml-library</code> in the <em>GitHub user/repo</em> box and click the arrow next to the box.</p>",
          "rawMarkdown": "It looks like you're changing the Docker image.  You don't have to.  Just enter the package name `LAL/trackml-library` in the *GitHub user/repo* box and click the arrow next to the box."
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 321911,
      "author_name": "Joshua Bonatt",
      "author_url": "",
      "post_date": "2018-05-02T06:13:23.057000",
      "content": "<p>I'm relatively new to Kaggle so figuring out anything was non-intuitive for me. I'm seeing this Topic just now, but for others who want explicit directions which I did not have:</p>\n\n<ol>\n<li>Click the [&lt;] button at top-right of Kernel screen  </li>\n<li>Click Settings  </li>\n<li>Enter \"LAL/trackml-library\", e.g., into \"GitHub user/repo\" space at the bottom  </li>\n<li>Click the (-&gt;) button to the left of that  </li>\n<li>Restart Kernel by clicking the circular refresh/recycle-y button at the bottom-right of the screen, in the Console  </li>\n<li>Custom libraries will now import when imported, as shown here by Wesam</li>\n</ol>",
      "votes": 8,
      "replies": [
        {
          "id": 321930,
          "author_name": "Wesam Elshamy",
          "author_url": "",
          "post_date": "2018-05-02T07:07:23.320000",
          "content": "<p>Thanks Joshua for the detailed directions.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 333604,
      "author_name": "CPMP",
      "author_url": "",
      "post_date": "2018-05-25T13:39:33.320000",
      "content": "<p>What is weird is that my kernel works fine when I run it interactively, and not when I commit and run.  This is a very bad user experience.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 336428,
          "author_name": "jw72berlin",
          "author_url": "",
          "post_date": "2018-05-31T17:31:34",
          "content": "<p>Same happens to me. It runs fine interactively, but not when I commit and run. Also importing LAL/trackml-library keeps on failing, several times in a row.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 336448,
          "author_name": "CPMP",
          "author_url": "",
          "post_date": "2018-05-31T18:34:28.210000",
          "content": "<p>You have to follow the instructions provided below to install it on your kernel environment: <a href=\"https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911\">https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911</a></p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 336489,
          "author_name": "jw72berlin",
          "author_url": "",
          "post_date": "2018-05-31T20:29:30.680000",
          "content": "<p>That's what I have been trying for hours now. It had worked before, but for my new kernels today it is aborting at step 4 with the same \"failed\" message that Willian Werner had reported above. Also I'm observing that my older notebook kernels work interactively, but not when I use the commit-button - then it doesn't find the trackml package - as you wrote above.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 331303,
      "author_name": "Willian Werner",
      "author_url": "",
      "post_date": "2018-05-20T22:56:13.303000",
      "content": "<p>Anyone with the same problem?</p>\n\n<p><img src=\"https://i.imgur.com/PR8AxsM.png\" alt=\"I cannot add the library\"></p>",
      "votes": 0,
      "replies": [
        {
          "id": 331307,
          "author_name": "Joshua Bonatt",
          "author_url": "",
          "post_date": "2018-05-20T23:23:41.863000",
          "content": "<p>When I got that error (twice?) I just tried again it and worked. I'm not sure the cause, though maybe it happened when I tried to re-add the same package. Refresh the browser page and try again?</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 331317,
          "author_name": "yyll008",
          "author_url": "",
          "post_date": "2018-05-21T01:03:46.790000",
          "content": "<p>package name：trackml</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 333082,
          "author_name": "Willian Werner",
          "author_url": "",
          "post_date": "2018-05-24T11:20:14.880000",
          "content": "<p>It did'n work :(\nNeither options. \nI'll do it offline.\nThank you!!!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 329777,
      "author_name": "yyll008",
      "author_url": "",
      "post_date": "2018-05-17T06:47:35",
      "content": "<p>I have try many times in kaggle kernel, can't succed.</p>\n\n<ul>\n<li>\n 5 import os\n  6 import trackml\n----&gt; 7 from trackml.dataset import load_event, load_dataset\n  8 from trackml.score import score_event\n  9 </li>\n</ul>\n\n<p>ModuleNotFoundError: No module named 'trackml.dataset'</p>\n\n<hr>",
      "votes": 0,
      "replies": [
        {
          "id": 329785,
          "author_name": "Wesam Elshamy",
          "author_url": "",
          "post_date": "2018-05-17T07:00:25.670000",
          "content": "<p>Did you follow the <a href=\"https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911\">detailed steps</a> by <a href=\"https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911\">Joshua Bonatt's comment above</a>?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 329787,
          "author_name": "yyll008",
          "author_url": "",
          "post_date": "2018-05-17T07:03:59.313000",
          "content": "<p>Yes, I have install the trackml, and restart Kernel.\nI don't know why the trackml.dataset is wrong?</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 329793,
          "author_name": "Wesam Elshamy",
          "author_url": "",
          "post_date": "2018-05-17T07:15:47.337000",
          "content": "<p>Do you a get a message saying it was successfully installed?\nTurn off GPU support if it's on, and try again.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 326439,
      "author_name": "sl02",
      "author_url": "",
      "post_date": "2018-05-09T17:55:35.793000",
      "content": "<p>I tried to install the library via the command line but without success</p>\n\n<blockquote>\n  <p>(kaggle) sl@instance-1:~$ pip install --user\n  <a href=\"https://github.com/LAL/trackml-library\">https://github.com/LAL/trackml-library</a></p>\n  \n  <p>Collecting <a href=\"https://github.com/LAL/trackml-library\">https://github.com/LAL/trackml-library</a>   Downloading\n  <a href=\"https://github.com/LAL/trackml-library\">https://github.com/LAL/trackml-library</a>\n       / 81kB 152kB/s   Cannot unpack file /tmp/pip-w165b8zv-unpack/trackml-library (downloaded from\n  /tmp/pip-h0xb996a-build, content-type: text/html; charset=utf-8);\n  cannot detect archive format Cannot determine archive format of\n  /tmp/pip-h0xb996a-build</p>\n</blockquote>\n\n<p>What am I doing wrong?</p>",
      "votes": 0,
      "replies": [
        {
          "id": 326445,
          "author_name": "Wesam Elshamy",
          "author_url": "",
          "post_date": "2018-05-09T18:17:36.057000",
          "content": "<p>You don't need to run any commands in a shell.  Joshua Bonatt gave <a href=\"https://www.kaggle.com/c/trackml-particle-identification/discussion/55753#321911\">step by step instructions</a> on how to do it earlier in this thread.  Please follow them and see if that helps.</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 326828,
          "author_name": "",
          "author_url": "",
          "post_date": "2018-05-10T11:45:47.777000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 326830,
          "author_name": "sl02",
          "author_url": "",
          "post_date": "2018-05-10T11:49:13.757000",
          "content": "<p>But these are instructions for those who are running the kernel on Kaggle. I am trying to use this library locally, on my machine or maybe on the cloud. I followed the instructions from this link <a href=\"https://github.com/LAL/trackml-library\">trackml</a>. I want to know whether what I've done is correct or not.</p>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 326845,
          "author_name": "Misha Zhukov",
          "author_url": "",
          "post_date": "2018-05-10T12:23:09.877000",
          "content": "<p>You need to use the proper git URL:</p>\n\n<p><code>pip install --user git+https://github.com/LAL/trackml-library.git</code></p>",
          "votes": 4,
          "replies": []
        },
        {
          "id": 327501,
          "author_name": "sl02",
          "author_url": "",
          "post_date": "2018-05-11T17:44:31.287000",
          "content": "<p>Thank you!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 323325,
      "author_name": "buzfifer",
      "author_url": "",
      "post_date": "2018-05-04T20:49:54.190000",
      "content": "<p>Thanks for the details. When I try it, I get the following:\nError: 'buzfifer/trackml@sha256:c7ca7b762324b681cf81ea9de23aa87a01e5b67de62f2ac2e542d29c67c352eb' is not a valid parent image name\nI have tried everything I could think of but I keep getting this error. Any suggestions.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 323329,
          "author_name": "Wesam Elshamy",
          "author_url": "",
          "post_date": "2018-05-04T20:55:43.460000",
          "content": "<p>It looks like you're changing the Docker image.  You don't have to.  Just enter the package name <code>LAL/trackml-library</code> in the <em>GitHub user/repo</em> box and click the arrow next to the box.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "321459": "I noticed some participants had trouble loading the data using [`trackml`-library][trackml], which was created for this purpose.  Here is how to do it:\n\nUnder your kernel's Settings tab -&gt; Add a custom package -&gt; GitHub user/repo (LAL/trackml-library)\n\nRestart your kernel' s session and use the following code stub to load the data:\n\n    from trackml.dataset import load_event\n    \n    hits, cells, particles, truth = load_event('../input/train_1/event000001000')\n\n[trackml]: https://github.com/LAL/trackml-library",
    "321911": "I'm relatively new to Kaggle so figuring out anything was non-intuitive for me. I'm seeing this Topic just now, but for others who want explicit directions which I did not have:\n\n1. Click the [&lt;] button at top-right of Kernel screen  \n2. Click Settings  \n3. Enter \"LAL/trackml-library\", e.g., into \"GitHub user/repo\" space at the bottom  \n4. Click the (-&gt;) button to the left of that  \n5. Restart Kernel by clicking the circular refresh/recycle-y button at the bottom-right of the screen, in the Console  \n6. Custom libraries will now import when imported, as shown here by Wesam",
    "333604": "What is weird is that my kernel works fine when I run it interactively, and not when I commit and run.  This is a very bad user experience.",
    "331303": "Anyone with the same problem?\n\n![I cannot add the library][1]\n\n\n  [1]: https://i.imgur.com/PR8AxsM.png",
    "329777": "I have try many times in kaggle kernel, can't succed.\n\n - \n     5 import os\n      6 import trackml\n----&gt; 7 from trackml.dataset import load_event, load_dataset\n      8 from trackml.score import score_event\n      9 \n\nModuleNotFoundError: No module named 'trackml.dataset'\n\n----------\n",
    "326439": "I tried to install the library via the command line but without success\n\n\n&gt; (kaggle) sl@instance-1:~$ pip install --user\n&gt; https://github.com/LAL/trackml-library\n&gt; \n&gt; Collecting https://github.com/LAL/trackml-library   Downloading\n&gt; https://github.com/LAL/trackml-library\n&gt;      / 81kB 152kB/s   Cannot unpack file /tmp/pip-w165b8zv-unpack/trackml-library (downloaded from\n&gt; /tmp/pip-h0xb996a-build, content-type: text/html; charset=utf-8);\n&gt; cannot detect archive format Cannot determine archive format of\n&gt; /tmp/pip-h0xb996a-build\n\n\nWhat am I doing wrong?",
    "323325": "Thanks for the details. When I try it, I get the following:\nError: 'buzfifer/trackml@sha256:c7ca7b762324b681cf81ea9de23aa87a01e5b67de62f2ac2e542d29c67c352eb' is not a valid parent image name\nI have tried everything I could think of but I keep getting this error. Any suggestions."
  }
}