{
  "id": 230214,
  "title": "kaggle API can't be updated to download all files",
  "url": "/competitions/hubmap-kidney-segmentation/discussion/230214",
  "author_name": "",
  "post_date": "2021-04-02T15:34:25.974172100Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Hi guys,</p>\n<p>I use Colab to run the kaggle api. The Kaggle api works before, but when I download this competition today, it shows <em>Warning: Looks like you're using an outdated API Version, please consider updating (server 1.5.12 / client 1.5.4)</em><br>\nAnd it looks that it can only download a portion of zip files lacking some tiffs, instead of a whole zip file with everything in it. </p>\n<p>I tried : !pip install --upgrade --force-reinstall --no-deps kaggle<br>\nand then checked version by:   !kaggle -v<br>\nand it shows: Kaggle API 1.5.4<br>\nLooks everything ok, but when I start downloading, it shows the outdated kaggle api error and only download a portion of files</p>\n<hr>\n<p>Updates:</p>\n<p>I solved the issue by change 1.5.4 to 1.5.12, which is below<br>\n !pip install --upgrade --force-reinstall --no-deps kaggle==1.5.12</p>",
  "messages": [
    {
      "id": "1260992",
      "postDate": "04/02/2021 15:34:25",
      "content": "<p>Hi guys,</p>\n<p>I use Colab to run the kaggle api. The Kaggle api works before, but when I download this competition today, it shows <em>Warning: Looks like you're using an outdated API Version, please consider updating (server 1.5.12 / client 1.5.4)</em><br>\nAnd it looks that it can only download a portion of zip files lacking some tiffs, instead of a whole zip file with everything in it. </p>\n<p>I tried : !pip install --upgrade --force-reinstall --no-deps kaggle<br>\nand then checked version by:   !kaggle -v<br>\nand it shows: Kaggle API 1.5.4<br>\nLooks everything ok, but when I start downloading, it shows the outdated kaggle api error and only download a portion of files</p>\n<hr>\n<p>Updates:</p>\n<p>I solved the issue by change 1.5.4 to 1.5.12, which is below<br>\n !pip install --upgrade --force-reinstall --no-deps kaggle==1.5.12</p>",
      "rawMarkdown": "Hi guys,\n\nI use Colab to run the kaggle api. The Kaggle api works before, but when I download this competition today, it shows *Warning: Looks like you're using an outdated API Version, please consider updating (server 1.5.12 / client 1.5.4)*\nAnd it looks that it can only download a portion of zip files lacking some tiffs, instead of a whole zip file with everything in it. \n\nI tried : !pip install --upgrade --force-reinstall --no-deps kaggle\nand then checked version by:   !kaggle -v\nand it shows: Kaggle API 1.5.4\nLooks everything ok, but when I start downloading, it shows the outdated kaggle api error and only download a portion of files\n\n--------\nUpdates:\n\nI solved the issue by change 1.5.4 to 1.5.12, which is below\n !pip install --upgrade --force-reinstall --no-deps kaggle==1.5.12",
      "votes": null
    },
    {
      "id": "1261387",
      "postDate": "04/03/2021 03:15:23",
      "content": "<p><a href=\"https://www.kaggle.com/lililycai\" target=\"_blank\">@lililycai</a> Your Kaggle version should show 1.5.12. I found out that running <code>!pip uninstall kaggle</code> and then running <code>!pip install --upgrade kaggle</code> updates the Kaggle API to 1.5.12 on Colab which fixes the issue.</p>\n<p>Just running the pip upgrade command without uninstalling first did not upgrade the Kaggle API package for me.</p>",
      "rawMarkdown": "lililycai Your Kaggle version should show 1.5.12. I found out that running `!pip uninstall kaggle` and then running `!pip install --upgrade kaggle` updates the Kaggle API to 1.5.12 on Colab which fixes the issue.\n\nJust running the pip upgrade command without uninstalling first did not upgrade the Kaggle API package for me.",
      "votes": null
    },
    {
      "id": "1262095",
      "postDate": "04/03/2021 19:23:07",
      "content": "<p>Thank you!</p>",
      "rawMarkdown": "Thank you!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1261387,
      "author_name": "yovinyahathugoda",
      "author_url": "",
      "post_date": "04/03/2021 03:15:23",
      "content": "<p><a href=\"https://www.kaggle.com/lililycai\" target=\"_blank\">@lililycai</a> Your Kaggle version should show 1.5.12. I found out that running <code>!pip uninstall kaggle</code> and then running <code>!pip install --upgrade kaggle</code> updates the Kaggle API to 1.5.12 on Colab which fixes the issue.</p>\n<p>Just running the pip upgrade command without uninstalling first did not upgrade the Kaggle API package for me.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1262095,
          "author_name": "lililycai",
          "author_url": "",
          "post_date": "04/03/2021 19:23:07",
          "content": "<p>Thank you!</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1260992": "Hi guys,\n\nI use Colab to run the kaggle api. The Kaggle api works before, but when I download this competition today, it shows *Warning: Looks like you're using an outdated API Version, please consider updating (server 1.5.12 / client 1.5.4)*\nAnd it looks that it can only download a portion of zip files lacking some tiffs, instead of a whole zip file with everything in it. \n\nI tried : !pip install --upgrade --force-reinstall --no-deps kaggle\nand then checked version by:   !kaggle -v\nand it shows: Kaggle API 1.5.4\nLooks everything ok, but when I start downloading, it shows the outdated kaggle api error and only download a portion of files\n\n--------\nUpdates:\n\nI solved the issue by change 1.5.4 to 1.5.12, which is below\n !pip install --upgrade --force-reinstall --no-deps kaggle==1.5.12",
    "1261387": "lililycai Your Kaggle version should show 1.5.12. I found out that running `!pip uninstall kaggle` and then running `!pip install --upgrade kaggle` updates the Kaggle API to 1.5.12 on Colab which fixes the issue.\n\nJust running the pip upgrade command without uninstalling first did not upgrade the Kaggle API package for me.",
    "1262095": "Thank you!"
  },
  "source": "meta"
}