{
  "id": 186206,
  "title": "**ERROR: Command errored out with exit status 1**",
  "url": "/competitions/lyft-motion-prediction-autonomous-vehicles/discussion/186206",
  "author_name": "",
  "post_date": "2020-09-23T16:08:36.087880100Z",
  "votes": 2,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Hi,</p>\n<p>I tried running this \"!pip install -r requirements.txt\" after cloning the Lyft l5kit: \"!git clone 'https://github.com/lyft/l5kit.git'\" on my Kaggle notebook, and I encountered this error: <br>\nERROR: Command errored out with exit status 1: /opt/conda/bin/python3.7/opt/conda/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-75ui68za/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i <a href=\"https://pypi.org/simple\" target=\"_blank\">https://pypi.org/simple</a> -- 'setuptools&gt;=40.8.0' wheel Check the logs for full command output.</p>\n<p>Please, how can I resolve this? Thanks</p>",
  "messages": [
    {
      "id": "1024069",
      "postDate": "09/23/2020 16:08:36",
      "content": "<p>Hi,</p>\n<p>I tried running this \"!pip install -r requirements.txt\" after cloning the Lyft l5kit: \"!git clone 'https://github.com/lyft/l5kit.git'\" on my Kaggle notebook, and I encountered this error: <br>\nERROR: Command errored out with exit status 1: /opt/conda/bin/python3.7/opt/conda/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-75ui68za/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i <a href=\"https://pypi.org/simple\" target=\"_blank\">https://pypi.org/simple</a> -- 'setuptools&gt;=40.8.0' wheel Check the logs for full command output.</p>\n<p>Please, how can I resolve this? Thanks</p>",
      "rawMarkdown": "Hi,\n\nI tried running this \"!pip install -r requirements.txt\" after cloning the Lyft l5kit: \"!git clone 'https://github.com/lyft/l5kit.git'\" on my Kaggle notebook, and I encountered this error: \nERROR: Command errored out with exit status 1: /opt/conda/bin/python3.7/opt/conda/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-75ui68za/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.\n\nPlease, how can I resolve this? Thanks",
      "votes": null
    },
    {
      "id": "1026106",
      "postDate": "09/25/2020 04:47:31",
      "content": "<p>If you are using conda then maybe you can try to to follow this order to install requirements.</p>\n<pre><code>python -m pip install torch==1.5.0 torchvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\nconda install numcodecs\ngit clone https://github.com/lyft/l5kit.git ./try\ncd try/l5kit\npip install -r requirements.txt\n</code></pre>\n<p>you can attach log of error if this don't work.</p>",
      "rawMarkdown": "If you are using conda then maybe you can try to to follow this order to install requirements.\n\n```\npython -m pip install torch==1.5.0 torchvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\nconda install numcodecs\ngit clone https://github.com/lyft/l5kit.git ./try\ncd try/l5kit\npip install -r requirements.txt\n```\n\nyou can attach log of error if this don't work.",
      "votes": null
    },
    {
      "id": "1031206",
      "postDate": "09/29/2020 10:03:01",
      "content": "<blockquote>\n  <p>If you are using conda then maybe you can try to to follow this order to install requirements.</p>\n<pre><code>python -m pip install torch==1.5.0 torchvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\nconda install numcodecs\ngit clone https://github.com/lyft/l5kit.git ./try\ncd try/l5kit\npip install -r requirements.txt\n</code></pre>\n  <p>you can attach log of error if this don't work.</p>\n</blockquote>\n<p>Thanks <a href=\"https://www.kaggle.com/sujaydkhandekar\" target=\"_blank\">@sujaydkhandekar</a> . I tried your suggestion and got this log of error:</p>\n<p>ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'<br>\nNote: you may need to restart the kernel to use updated packages.</p>",
      "rawMarkdown": "> If you are using conda then maybe you can try to to follow this order to install requirements.\n> \n> ```\n> python -m pip install torch==1.5.0 torchvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\n> conda install numcodecs\n> git clone https://github.com/lyft/l5kit.git ./try\n> cd try/l5kit\n> pip install -r requirements.txt\n> ```\n> \n> you can attach log of error if this don't work.\n\nThanks @sujaydkhandekar . I tried your suggestion and got this log of error:\n\nERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'\nNote: you may need to restart the kernel to use updated packages.",
      "votes": null
    },
    {
      "id": "1032240",
      "postDate": "09/30/2020 04:22:43",
      "content": "<p>Yes , I think official way of installing dependencies with requirements is changed now after the update. You can refer to their l5kit repo and follow the instructions there .<a href=\"url\" target=\"_blank\">https://github.com/lyft/l5kit</a></p>",
      "rawMarkdown": "Yes , I think official way of installing dependencies with requirements is changed now after the update. You can refer to their l5kit repo and follow the instructions there .[https://github.com/lyft/l5kit](url)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1026106,
      "author_name": "sujaydkhandekar",
      "author_url": "",
      "post_date": "09/25/2020 04:47:31",
      "content": "<p>If you are using conda then maybe you can try to to follow this order to install requirements.</p>\n<pre><code>python -m pip install torch==1.5.0 torchvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\nconda install numcodecs\ngit clone https://github.com/lyft/l5kit.git ./try\ncd try/l5kit\npip install -r requirements.txt\n</code></pre>\n<p>you can attach log of error if this don't work.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1031206,
          "author_name": "ubajakacj",
          "author_url": "",
          "post_date": "09/29/2020 10:03:01",
          "content": "<blockquote>\n  <p>If you are using conda then maybe you can try to to follow this order to install requirements.</p>\n<pre><code>python -m pip install torch==1.5.0 torchvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\nconda install numcodecs\ngit clone https://github.com/lyft/l5kit.git ./try\ncd try/l5kit\npip install -r requirements.txt\n</code></pre>\n  <p>you can attach log of error if this don't work.</p>\n</blockquote>\n<p>Thanks <a href=\"https://www.kaggle.com/sujaydkhandekar\" target=\"_blank\">@sujaydkhandekar</a> . I tried your suggestion and got this log of error:</p>\n<p>ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'<br>\nNote: you may need to restart the kernel to use updated packages.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1032240,
          "author_name": "sujaydkhandekar",
          "author_url": "",
          "post_date": "09/30/2020 04:22:43",
          "content": "<p>Yes , I think official way of installing dependencies with requirements is changed now after the update. You can refer to their l5kit repo and follow the instructions there .<a href=\"url\" target=\"_blank\">https://github.com/lyft/l5kit</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1024069": "Hi,\n\nI tried running this \"!pip install -r requirements.txt\" after cloning the Lyft l5kit: \"!git clone 'https://github.com/lyft/l5kit.git'\" on my Kaggle notebook, and I encountered this error: \nERROR: Command errored out with exit status 1: /opt/conda/bin/python3.7/opt/conda/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-75ui68za/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.\n\nPlease, how can I resolve this? Thanks",
    "1026106": "If you are using conda then maybe you can try to to follow this order to install requirements.\n\n```\npython -m pip install torch==1.5.0 torchvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\nconda install numcodecs\ngit clone https://github.com/lyft/l5kit.git ./try\ncd try/l5kit\npip install -r requirements.txt\n```\n\nyou can attach log of error if this don't work.",
    "1031206": "> If you are using conda then maybe you can try to to follow this order to install requirements.\n> \n> ```\n> python -m pip install torch==1.5.0 torchvision==0.6.0 -f https://download.pytorch.org/whl/torch_stable.html\n> conda install numcodecs\n> git clone https://github.com/lyft/l5kit.git ./try\n> cd try/l5kit\n> pip install -r requirements.txt\n> ```\n> \n> you can attach log of error if this don't work.\n\nThanks @sujaydkhandekar . I tried your suggestion and got this log of error:\n\nERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'\nNote: you may need to restart the kernel to use updated packages.",
    "1032240": "Yes , I think official way of installing dependencies with requirements is changed now after the update. You can refer to their l5kit repo and follow the instructions there .[https://github.com/lyft/l5kit](url)"
  },
  "source": "meta"
}