{
  "id": 124925,
  "title": "API problem - No folders when downloading",
  "url": "/competitions/pku-autonomous-driving/discussion/124925",
  "author_name": "",
  "post_date": "2020-01-07T14:31:48.029512Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>There seems to be a misconfiguration in the dataset structure when downloading the data via the Kaggle API. When using the command <code>kaggle competitions download -c pku-autonomous-driving</code> Every single file seems to be downloaded directly into the target location <strong>without any folders</strong>. Have anyone experienced the same? I hope this can be fixed fast as I would like to use this feature.</p>",
  "messages": [
    {
      "id": "712722",
      "postDate": "01/07/2020 14:31:48",
      "content": "<p>There seems to be a misconfiguration in the dataset structure when downloading the data via the Kaggle API. When using the command <code>kaggle competitions download -c pku-autonomous-driving</code> Every single file seems to be downloaded directly into the target location <strong>without any folders</strong>. Have anyone experienced the same? I hope this can be fixed fast as I would like to use this feature.</p>",
      "rawMarkdown": "There seems to be a misconfiguration in the dataset structure when downloading the data via the Kaggle API. When using the command `kaggle competitions download -c pku-autonomous-driving` Every single file seems to be downloaded directly into the target location **without any folders**. Have anyone experienced the same? I hope this can be fixed fast as I would like to use this feature.",
      "votes": null
    },
    {
      "id": "712723",
      "postDate": "01/07/2020 14:34:01",
      "content": "<p>This issue might due to version of your kaggle api. Try following commands before download the dataset.\n<code>!pip uninstall -y kaggle</code>\n<code>!pip install --upgrade pip</code>\n<code>!pip install kaggle==1.5.6</code></p>",
      "rawMarkdown": "This issue might due to version of your kaggle api. Try following commands before download the dataset.\n`!pip uninstall -y kaggle`\n`!pip install --upgrade pip`\n`!pip install kaggle==1.5.6`",
      "votes": null
    },
    {
      "id": "712757",
      "postDate": "01/07/2020 15:00:54",
      "content": "<p>Upgrading to 1.5.6 worked, thanks :)) (Thought I already run the newest version, but didn't)</p>",
      "rawMarkdown": "Upgrading to 1.5.6 worked, thanks :)) (Thought I already run the newest version, but didn't)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 712723,
      "author_name": "xiejialun",
      "author_url": "",
      "post_date": "01/07/2020 14:34:01",
      "content": "<p>This issue might due to version of your kaggle api. Try following commands before download the dataset.\n<code>!pip uninstall -y kaggle</code>\n<code>!pip install --upgrade pip</code>\n<code>!pip install kaggle==1.5.6</code></p>",
      "votes": null,
      "replies": [
        {
          "id": 712757,
          "author_name": "lauholme",
          "author_url": "",
          "post_date": "01/07/2020 15:00:54",
          "content": "<p>Upgrading to 1.5.6 worked, thanks :)) (Thought I already run the newest version, but didn't)</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "712722": "There seems to be a misconfiguration in the dataset structure when downloading the data via the Kaggle API. When using the command `kaggle competitions download -c pku-autonomous-driving` Every single file seems to be downloaded directly into the target location **without any folders**. Have anyone experienced the same? I hope this can be fixed fast as I would like to use this feature.",
    "712723": "This issue might due to version of your kaggle api. Try following commands before download the dataset.\n`!pip uninstall -y kaggle`\n`!pip install --upgrade pip`\n`!pip install kaggle==1.5.6`",
    "712757": "Upgrading to 1.5.6 worked, thanks :)) (Thought I already run the newest version, but didn't)"
  },
  "source": "meta"
}