{
  "id": 177803,
  "title": "l5kit installation issue ( requirement issue with torch vision )",
  "url": "/competitions/lyft-motion-prediction-autonomous-vehicles/discussion/177803",
  "author_name": "",
  "post_date": "2020-08-27T12:18:01.847021200Z",
  "votes": 2,
  "comment_count": 3,
  "views": 0,
  "content": "<p>ERROR: Could not find a version that satisfies the requirement torchvision=0.6.0 (from l5kit) (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.3.0, 0.4.1, 0.5.0)<br>\nERROR: No matching distribution found for torchvision=0.6.0 (from l5kit)</p>\n<p>Should i have to downgrade the torch vision ?<br>\nmy torchvision version is torchvision==0.7.0</p>\n<p>Help please</p>",
  "messages": [
    {
      "id": "987640",
      "postDate": "08/27/2020 12:18:01",
      "content": "<p>ERROR: Could not find a version that satisfies the requirement torchvision=0.6.0 (from l5kit) (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.3.0, 0.4.1, 0.5.0)<br>\nERROR: No matching distribution found for torchvision=0.6.0 (from l5kit)</p>\n<p>Should i have to downgrade the torch vision ?<br>\nmy torchvision version is torchvision==0.7.0</p>\n<p>Help please</p>",
      "rawMarkdown": "ERROR: Could not find a version that satisfies the requirement torchvision<0.7.0,>=0.6.0 (from l5kit) (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.3.0, 0.4.1, 0.5.0)\nERROR: No matching distribution found for torchvision<0.7.0,>=0.6.0 (from l5kit)\n\n\nShould i have to downgrade the torch vision ?\nmy torchvision version is torchvision==0.7.0\n\nHelp please",
      "votes": null
    },
    {
      "id": "987700",
      "postDate": "08/27/2020 13:03:02",
      "content": "<p>L5Kit does restrict to PyTorch 1.5.x and TorchVision 0.6.x. From a github <a href=\"https://github.com/lyft/l5kit/issues/123#issuecomment-680785488\" target=\"_blank\">issue</a>:</p>\n<blockquote>\n  <p>a bit of context about why we left out PyTorch 1.6 from requirements:<br>\n  As the competition was approaching quickly we didn't want to include a potential breaking change in dependencies and we didn't have enough time to test it thoroughly.</p>\n</blockquote>\n<p>So no known issues but not thoroughly tested. So it may work with 1.6 but you'd have to override that requirement (e.g. by installing dependencies manually and then installing l5kit with <code>--no-deps</code>) and would be a bit on your own in terms of potential issues.</p>",
      "rawMarkdown": "L5Kit does restrict to PyTorch 1.5.x and TorchVision 0.6.x. From a github [issue](https://github.com/lyft/l5kit/issues/123#issuecomment-680785488):\n> a bit of context about why we left out PyTorch 1.6 from requirements:\nAs the competition was approaching quickly we didn't want to include a potential breaking change in dependencies and we didn't have enough time to test it thoroughly.\n\nSo no known issues but not thoroughly tested. So it may work with 1.6 but you'd have to override that requirement (e.g. by installing dependencies manually and then installing l5kit with `--no-deps`) and would be a bit on your own in terms of potential issues.",
      "votes": null
    },
    {
      "id": "987709",
      "postDate": "08/27/2020 13:08:19",
      "content": "<p>So if i create new env with installing torch and torch vision dependencies that required </p>\n<p>After i can install the l5kit with local dir will it work sir ?</p>\n<p>Sorry to asked i am bit confused</p>",
      "rawMarkdown": "So if i create new env with installing torch and torch vision dependencies that required \n\nAfter i can install the l5kit with local dir will it work sir ?\n\nSorry to asked i am bit confused",
      "votes": null
    },
    {
      "id": "987760",
      "postDate": "08/27/2020 13:50:24",
      "content": "<p>Yeah, installing a new environment with PyTorch 1.5 should work fine.<br>\nNot quite sure what you mean by \"install the l5kit with local dir\". Do you mean installing from cloned git? Or are you trying to install from wheels? Or…</p>\n<p>Also if you're creating a conda environment then you may be better installing the l5kit dependencies with conda as mixing conda and pip doesn't always work well. That's how I installed it and it seems to work fine. I can provide the conda dependencies I used if you are using conda.</p>",
      "rawMarkdown": "Yeah, installing a new environment with PyTorch 1.5 should work fine.\nNot quite sure what you mean by \"install the l5kit with local dir\". Do you mean installing from cloned git? Or are you trying to install from wheels? Or...\n\nAlso if you're creating a conda environment then you may be better installing the l5kit dependencies with conda as mixing conda and pip doesn't always work well. That's how I installed it and it seems to work fine. I can provide the conda dependencies I used if you are using conda.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 987700,
      "author_name": "thomasbrandon",
      "author_url": "",
      "post_date": "08/27/2020 13:03:02",
      "content": "<p>L5Kit does restrict to PyTorch 1.5.x and TorchVision 0.6.x. From a github <a href=\"https://github.com/lyft/l5kit/issues/123#issuecomment-680785488\" target=\"_blank\">issue</a>:</p>\n<blockquote>\n  <p>a bit of context about why we left out PyTorch 1.6 from requirements:<br>\n  As the competition was approaching quickly we didn't want to include a potential breaking change in dependencies and we didn't have enough time to test it thoroughly.</p>\n</blockquote>\n<p>So no known issues but not thoroughly tested. So it may work with 1.6 but you'd have to override that requirement (e.g. by installing dependencies manually and then installing l5kit with <code>--no-deps</code>) and would be a bit on your own in terms of potential issues.</p>",
      "votes": null,
      "replies": [
        {
          "id": 987709,
          "author_name": "winklemad",
          "author_url": "",
          "post_date": "08/27/2020 13:08:19",
          "content": "<p>So if i create new env with installing torch and torch vision dependencies that required </p>\n<p>After i can install the l5kit with local dir will it work sir ?</p>\n<p>Sorry to asked i am bit confused</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 987760,
          "author_name": "thomasbrandon",
          "author_url": "",
          "post_date": "08/27/2020 13:50:24",
          "content": "<p>Yeah, installing a new environment with PyTorch 1.5 should work fine.<br>\nNot quite sure what you mean by \"install the l5kit with local dir\". Do you mean installing from cloned git? Or are you trying to install from wheels? Or…</p>\n<p>Also if you're creating a conda environment then you may be better installing the l5kit dependencies with conda as mixing conda and pip doesn't always work well. That's how I installed it and it seems to work fine. I can provide the conda dependencies I used if you are using conda.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "987640": "ERROR: Could not find a version that satisfies the requirement torchvision<0.7.0,>=0.6.0 (from l5kit) (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.3.0, 0.4.1, 0.5.0)\nERROR: No matching distribution found for torchvision<0.7.0,>=0.6.0 (from l5kit)\n\n\nShould i have to downgrade the torch vision ?\nmy torchvision version is torchvision==0.7.0\n\nHelp please",
    "987700": "L5Kit does restrict to PyTorch 1.5.x and TorchVision 0.6.x. From a github [issue](https://github.com/lyft/l5kit/issues/123#issuecomment-680785488):\n> a bit of context about why we left out PyTorch 1.6 from requirements:\nAs the competition was approaching quickly we didn't want to include a potential breaking change in dependencies and we didn't have enough time to test it thoroughly.\n\nSo no known issues but not thoroughly tested. So it may work with 1.6 but you'd have to override that requirement (e.g. by installing dependencies manually and then installing l5kit with `--no-deps`) and would be a bit on your own in terms of potential issues.",
    "987709": "So if i create new env with installing torch and torch vision dependencies that required \n\nAfter i can install the l5kit with local dir will it work sir ?\n\nSorry to asked i am bit confused",
    "987760": "Yeah, installing a new environment with PyTorch 1.5 should work fine.\nNot quite sure what you mean by \"install the l5kit with local dir\". Do you mean installing from cloned git? Or are you trying to install from wheels? Or...\n\nAlso if you're creating a conda environment then you may be better installing the l5kit dependencies with conda as mixing conda and pip doesn't always work well. That's how I installed it and it seems to work fine. I can provide the conda dependencies I used if you are using conda."
  },
  "source": "meta"
}