{
  "id": 540726,
  "title": "Issues Installing AutoGluon for Time Series Analysis",
  "url": "/competitions/jane-street-real-time-market-data-forecasting/discussion/540726",
  "author_name": "",
  "post_date": "2024-10-15T21:04:53.158419500Z",
  "votes": 2,
  "comment_count": 10,
  "views": 0,
  "content": "<p>Hi all,</p>\n<p>I was wondering if anyone else is encountering issues installing AutoGluon for time series analysis? I have tried several methods but had no luck so far. 😕</p>\n<p>I followed the instructions here: <a href=\"https://auto.gluon.ai/stable/install.html#\" target=\"_blank\">AutoGluon Installation Guide</a></p>\n<p>I've tried the following methods, but all of them failed:</p>\n<p>Attempt 1</p>\n<pre><code>!pip install -U autogluon &gt; /dev/null\n</code></pre>\n<p>Attempt 2<br>\nBased on this GitHub issue: <a href=\"https://github.com/autogluon/autogluon/issues/4427\" target=\"_blank\">https://github.com/autogluon/autogluon/issues/4427</a></p>\n<pre><code>\n!git  https://github.com/autogluon/autogluon\n\n\n! autogluon &amp;&amp; pip install common/ tabular/ timeseries/\n</code></pre>\n<p>Attempt 3</p>\n<pre><code>!pip install -U pip\n!pip install -U setuptools wheel\n\n\n\n!pip install torch==2.3.1 torchvision==0.18.1 --index-url https://download.pytorch.org/whl/cpu\n\n\n!pip install autogluon\n</code></pre>\n<p>Is anyone else having more luck or can provide some guidance on getting this to work? Thanks in advance! 🙏</p>",
  "messages": [
    {
      "id": "3018554",
      "postDate": "10/15/2024 21:04:53",
      "content": "<p>Hi all,</p>\n<p>I was wondering if anyone else is encountering issues installing AutoGluon for time series analysis? I have tried several methods but had no luck so far. 😕</p>\n<p>I followed the instructions here: <a href=\"https://auto.gluon.ai/stable/install.html#\" target=\"_blank\">AutoGluon Installation Guide</a></p>\n<p>I've tried the following methods, but all of them failed:</p>\n<p>Attempt 1</p>\n<pre><code>!pip install -U autogluon &gt; /dev/null\n</code></pre>\n<p>Attempt 2<br>\nBased on this GitHub issue: <a href=\"https://github.com/autogluon/autogluon/issues/4427\" target=\"_blank\">https://github.com/autogluon/autogluon/issues/4427</a></p>\n<pre><code>\n!git  https://github.com/autogluon/autogluon\n\n\n! autogluon &amp;&amp; pip install common/ tabular/ timeseries/\n</code></pre>\n<p>Attempt 3</p>\n<pre><code>!pip install -U pip\n!pip install -U setuptools wheel\n\n\n\n!pip install torch==2.3.1 torchvision==0.18.1 --index-url https://download.pytorch.org/whl/cpu\n\n\n!pip install autogluon\n</code></pre>\n<p>Is anyone else having more luck or can provide some guidance on getting this to work? Thanks in advance! 🙏</p>",
      "rawMarkdown": "Hi all,\n\nI was wondering if anyone else is encountering issues installing AutoGluon for time series analysis? I have tried several methods but had no luck so far. 😕\n\nI followed the instructions here: [AutoGluon Installation Guide](https://auto.gluon.ai/stable/install.html#)\n\nI've tried the following methods, but all of them failed:\n\nAttempt 1\n```bash\n!pip install -U autogluon > /dev/null\n```\nAttempt 2\nBased on this GitHub issue: https://github.com/autogluon/autogluon/issues/4427\n\n```bash\n# Clone the repository\n!git clone https://github.com/autogluon/autogluon\n\n# Install the required components (common, tabular, and timeseries)\n!cd autogluon && pip install common/ tabular/ timeseries/\n```\n\nAttempt 3\n```bash\n!pip install -U pip\n!pip install -U setuptools wheel\n\n# Install the CPU version of PyTorch as recommended in the PyTorch documentation.\n# The `--index-url` option is used to specify the CPU wheels.\n!pip install torch==2.3.1 torchvision==0.18.1 --index-url https://download.pytorch.org/whl/cpu\n\n# Install AutoGluon\n!pip install autogluon\n```\n\nIs anyone else having more luck or can provide some guidance on getting this to work? Thanks in advance! 🙏",
      "votes": null
    },
    {
      "id": "3018592",
      "postDate": "10/15/2024 21:35:27",
      "content": "<p>Does your notebook have internet enabled? And, if yes, post the error message?</p>",
      "rawMarkdown": "Does your notebook have internet enabled? And, if yes, post the error message?",
      "votes": null
    },
    {
      "id": "3018593",
      "postDate": "10/15/2024 21:42:56",
      "content": "<p><a href=\"https://www.kaggle.com/wguesdon\" target=\"_blank\">@wguesdon</a> please refer the kernel <a href=\"https://www.kaggle.com/code/ravi20076/janestreet2024-autogluon-import\" target=\"_blank\">here</a> for Autogluon wheel file and dependencies. </p>",
      "rawMarkdown": "wguesdon please refer the kernel [here](https://www.kaggle.com/code/ravi20076/janestreet2024-autogluon-import) for Autogluon wheel file and dependencies.",
      "votes": null
    },
    {
      "id": "3019079",
      "postDate": "10/16/2024 08:42:55",
      "content": "<p>Many thanks, Ravi. This method worked!</p>",
      "rawMarkdown": "Many thanks, Ravi. This method worked!",
      "votes": null
    },
    {
      "id": "3019090",
      "postDate": "10/16/2024 08:48:30",
      "content": "<p>It seems Pip was having issues resolving dependencies. However, Ravi's method above worked fine. </p>",
      "rawMarkdown": "It seems Pip was having issues resolving dependencies. However, Ravi's method above worked fine.",
      "votes": null
    },
    {
      "id": "3019543",
      "postDate": "10/16/2024 16:51:15",
      "content": "<p>Hello, refer to this GitHub issue: <a href=\"https://github.com/autogluon/autogluon/issues/4515\" target=\"_blank\">https://github.com/autogluon/autogluon/issues/4515</a></p>\n<p>You can avoid this issue by using <code>uv</code>:</p>\n<pre><code>\npip  uv\n\nuv pip  autogluon\n</code></pre>\n<p>The problem is that there is a bug in pip's dependency resolver which is currently causing AutoGluon to fail during pip install. <code>pip</code> is actively testing fixes <a href=\"https://github.com/pypa/pip/pull/13017\" target=\"_blank\">here</a>, which will hopefully be part of the next pip release.</p>",
      "rawMarkdown": "Hello, refer to this GitHub issue: https://github.com/autogluon/autogluon/issues/4515\n\nYou can avoid this issue by using `uv`:\n\n```\n# Install uv using pip\npip install uv\n# Install autogluon with uv\nuv pip install autogluon\n```\n\nThe problem is that there is a bug in pip's dependency resolver which is currently causing AutoGluon to fail during pip install. `pip` is actively testing fixes [here](https://github.com/pypa/pip/pull/13017), which will hopefully be part of the next pip release.",
      "votes": null
    },
    {
      "id": "3019545",
      "postDate": "10/16/2024 16:52:36",
      "content": "<p>You can also refer to our stable installation guide docs, which we updated last night to show <code>uv</code> instructions: <a href=\"https://auto.gluon.ai/stable/install.html\" target=\"_blank\">https://auto.gluon.ai/stable/install.html</a></p>",
      "rawMarkdown": "You can also refer to our stable installation guide docs, which we updated last night to show `uv` instructions: https://auto.gluon.ai/stable/install.html",
      "votes": null
    },
    {
      "id": "3042762",
      "postDate": "11/11/2024 18:15:53",
      "content": "<p>I have still same issue even though I have tried the below methods.  😅</p>",
      "rawMarkdown": "I have still same issue even though I have tried the below methods.  😅",
      "votes": null
    },
    {
      "id": "3042782",
      "postDate": "11/11/2024 18:36:17",
      "content": "<p>Have you tried the method suggested by <a href=\"https://www.kaggle.com/Ravi\" target=\"_blank\">@Ravi</a> Ramakrishnan? It worked for me</p>",
      "rawMarkdown": "Have you tried the method suggested by @Ravi Ramakrishnan? It worked for me",
      "votes": null
    },
    {
      "id": "3043966",
      "postDate": "11/12/2024 21:17:42",
      "content": "<p>yeah, I have tried his method. but it`s not work on me. 😂</p>",
      "rawMarkdown": "yeah, I have tried his method. but it`s not work on me. 😂",
      "votes": null
    },
    {
      "id": "3043970",
      "postDate": "11/12/2024 21:24:58",
      "content": "<p>Can you post the error messages you encountered?</p>",
      "rawMarkdown": "Can you post the error messages you encountered?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 3018592,
      "author_name": "roberthatch",
      "author_url": "",
      "post_date": "10/15/2024 21:35:27",
      "content": "<p>Does your notebook have internet enabled? And, if yes, post the error message?</p>",
      "votes": null,
      "replies": [
        {
          "id": 3019090,
          "author_name": "wguesdon",
          "author_url": "",
          "post_date": "10/16/2024 08:48:30",
          "content": "<p>It seems Pip was having issues resolving dependencies. However, Ravi's method above worked fine. </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3018593,
      "author_name": "ravi20076",
      "author_url": "",
      "post_date": "10/15/2024 21:42:56",
      "content": "<p><a href=\"https://www.kaggle.com/wguesdon\" target=\"_blank\">@wguesdon</a> please refer the kernel <a href=\"https://www.kaggle.com/code/ravi20076/janestreet2024-autogluon-import\" target=\"_blank\">here</a> for Autogluon wheel file and dependencies. </p>",
      "votes": null,
      "replies": [
        {
          "id": 3019079,
          "author_name": "wguesdon",
          "author_url": "",
          "post_date": "10/16/2024 08:42:55",
          "content": "<p>Many thanks, Ravi. This method worked!</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3019543,
      "author_name": "innixma",
      "author_url": "",
      "post_date": "10/16/2024 16:51:15",
      "content": "<p>Hello, refer to this GitHub issue: <a href=\"https://github.com/autogluon/autogluon/issues/4515\" target=\"_blank\">https://github.com/autogluon/autogluon/issues/4515</a></p>\n<p>You can avoid this issue by using <code>uv</code>:</p>\n<pre><code>\npip  uv\n\nuv pip  autogluon\n</code></pre>\n<p>The problem is that there is a bug in pip's dependency resolver which is currently causing AutoGluon to fail during pip install. <code>pip</code> is actively testing fixes <a href=\"https://github.com/pypa/pip/pull/13017\" target=\"_blank\">here</a>, which will hopefully be part of the next pip release.</p>",
      "votes": null,
      "replies": [
        {
          "id": 3019545,
          "author_name": "innixma",
          "author_url": "",
          "post_date": "10/16/2024 16:52:36",
          "content": "<p>You can also refer to our stable installation guide docs, which we updated last night to show <code>uv</code> instructions: <a href=\"https://auto.gluon.ai/stable/install.html\" target=\"_blank\">https://auto.gluon.ai/stable/install.html</a></p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 3042762,
      "author_name": "hallojong0319",
      "author_url": "",
      "post_date": "11/11/2024 18:15:53",
      "content": "<p>I have still same issue even though I have tried the below methods.  😅</p>",
      "votes": null,
      "replies": [
        {
          "id": 3042782,
          "author_name": "wguesdon",
          "author_url": "",
          "post_date": "11/11/2024 18:36:17",
          "content": "<p>Have you tried the method suggested by <a href=\"https://www.kaggle.com/Ravi\" target=\"_blank\">@Ravi</a> Ramakrishnan? It worked for me</p>",
          "votes": null,
          "replies": [
            {
              "id": 3043966,
              "author_name": "hallojong0319",
              "author_url": "",
              "post_date": "11/12/2024 21:17:42",
              "content": "<p>yeah, I have tried his method. but it`s not work on me. 😂</p>",
              "votes": null,
              "replies": [
                {
                  "id": 3043970,
                  "author_name": "wguesdon",
                  "author_url": "",
                  "post_date": "11/12/2024 21:24:58",
                  "content": "<p>Can you post the error messages you encountered?</p>",
                  "votes": null,
                  "replies": []
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3018554": "Hi all,\n\nI was wondering if anyone else is encountering issues installing AutoGluon for time series analysis? I have tried several methods but had no luck so far. 😕\n\nI followed the instructions here: [AutoGluon Installation Guide](https://auto.gluon.ai/stable/install.html#)\n\nI've tried the following methods, but all of them failed:\n\nAttempt 1\n```bash\n!pip install -U autogluon > /dev/null\n```\nAttempt 2\nBased on this GitHub issue: https://github.com/autogluon/autogluon/issues/4427\n\n```bash\n# Clone the repository\n!git clone https://github.com/autogluon/autogluon\n\n# Install the required components (common, tabular, and timeseries)\n!cd autogluon && pip install common/ tabular/ timeseries/\n```\n\nAttempt 3\n```bash\n!pip install -U pip\n!pip install -U setuptools wheel\n\n# Install the CPU version of PyTorch as recommended in the PyTorch documentation.\n# The `--index-url` option is used to specify the CPU wheels.\n!pip install torch==2.3.1 torchvision==0.18.1 --index-url https://download.pytorch.org/whl/cpu\n\n# Install AutoGluon\n!pip install autogluon\n```\n\nIs anyone else having more luck or can provide some guidance on getting this to work? Thanks in advance! 🙏",
    "3018592": "Does your notebook have internet enabled? And, if yes, post the error message?",
    "3018593": "wguesdon please refer the kernel [here](https://www.kaggle.com/code/ravi20076/janestreet2024-autogluon-import) for Autogluon wheel file and dependencies.",
    "3019079": "Many thanks, Ravi. This method worked!",
    "3019090": "It seems Pip was having issues resolving dependencies. However, Ravi's method above worked fine.",
    "3019543": "Hello, refer to this GitHub issue: https://github.com/autogluon/autogluon/issues/4515\n\nYou can avoid this issue by using `uv`:\n\n```\n# Install uv using pip\npip install uv\n# Install autogluon with uv\nuv pip install autogluon\n```\n\nThe problem is that there is a bug in pip's dependency resolver which is currently causing AutoGluon to fail during pip install. `pip` is actively testing fixes [here](https://github.com/pypa/pip/pull/13017), which will hopefully be part of the next pip release.",
    "3019545": "You can also refer to our stable installation guide docs, which we updated last night to show `uv` instructions: https://auto.gluon.ai/stable/install.html",
    "3042762": "I have still same issue even though I have tried the below methods.  😅",
    "3042782": "Have you tried the method suggested by @Ravi Ramakrishnan? It worked for me",
    "3043966": "yeah, I have tried his method. but it`s not work on me. 😂",
    "3043970": "Can you post the error messages you encountered?"
  },
  "source": "meta"
}