{
  "id": 285453,
  "title": "How to import the api ",
  "url": "/competitions/g-research-crypto-forecasting/discussion/285453",
  "author_name": "",
  "post_date": "2021-11-04T19:21:05.446531200Z",
  "votes": 7,
  "comment_count": 8,
  "views": 0,
  "content": "<hr>\n<p>ModuleNotFoundError                       Traceback (most recent call last)<br>\n in <br>\n----&gt; 1 import gresearch_crypto</p>\n<p>~/Desktop/Kaggle/g-research-crypto-forecasting /gresearch_crypto/<strong>init</strong>.py in <br>\n      1 <br>\n----&gt; 2 from .competition import make_env<br>\n      3 <br>\n      4 <strong>all</strong> = ['make_env']</p>\n<p>ModuleNotFoundError: No module named 'gresearch_crypto.competition'</p>\n<p>Does anybody have this problem? Download the dataset to local. Couldn't import gresearch_crypto. PLZZZ HELP.</p>",
  "messages": [
    {
      "id": "1571350",
      "postDate": "11/04/2021 19:21:05",
      "content": "<hr>\n<p>ModuleNotFoundError                       Traceback (most recent call last)<br>\n in <br>\n----&gt; 1 import gresearch_crypto</p>\n<p>~/Desktop/Kaggle/g-research-crypto-forecasting /gresearch_crypto/<strong>init</strong>.py in <br>\n      1 <br>\n----&gt; 2 from .competition import make_env<br>\n      3 <br>\n      4 <strong>all</strong> = ['make_env']</p>\n<p>ModuleNotFoundError: No module named 'gresearch_crypto.competition'</p>\n<p>Does anybody have this problem? Download the dataset to local. Couldn't import gresearch_crypto. PLZZZ HELP.</p>",
      "rawMarkdown": "ModuleNotFoundError                       Traceback (most recent call last)\n<ipython-input-2-c31151b09a5d> in <module>\n----> 1 import gresearch_crypto\n\n~/Desktop/Kaggle/g-research-crypto-forecasting /gresearch_crypto/__init__.py in <module>\n      1 \n----> 2 from .competition import make_env\n      3 \n      4 __all__ = ['make_env']\n\nModuleNotFoundError: No module named 'gresearch_crypto.competition'\n\n\n\n\nDoes anybody have this problem? Download the dataset to local. Couldn't import gresearch_crypto. PLZZZ HELP.",
      "votes": null
    },
    {
      "id": "1571420",
      "postDate": "11/04/2021 21:30:27",
      "content": "<p>Make sure you are using Python 3.7. Didn't work for me until I downgraded.</p>",
      "rawMarkdown": "Make sure you are using Python 3.7. Didn't work for me until I downgraded.",
      "votes": null
    },
    {
      "id": "1571436",
      "postDate": "11/04/2021 21:47:51",
      "content": "<p>You might need to run:</p>\n<pre><code>import sys\nsys.path.append('~/Desktop/Kaggle/')\n</code></pre>",
      "rawMarkdown": "You might need to run:\n```\nimport sys\nsys.path.append('~/Desktop/Kaggle/')\n```",
      "votes": null
    },
    {
      "id": "1571541",
      "postDate": "11/05/2021 00:29:55",
      "content": "<p>doesn't work for me. where u guys find the .competition file?🙊</p>",
      "rawMarkdown": "doesn't work for me. where u guys find the .competition file?🙊",
      "votes": null
    },
    {
      "id": "1571542",
      "postDate": "11/05/2021 00:30:18",
      "content": "<p>still doesn't work. where u guys find the .competition file?🙊</p>",
      "rawMarkdown": "still doesn't work. where u guys find the .competition file?🙊",
      "votes": null
    },
    {
      "id": "1572648",
      "postDate": "11/05/2021 20:35:24",
      "content": "<p>I think it is OS problem - you can only do it locally on Linux. It would be great if other OSs are also supported by providing compatible <code>competion...</code> files as part of the download.<br>\n<a href=\"https://www.kaggle.com/sohier\" target=\"_blank\">@sohier</a> can you ask?</p>",
      "rawMarkdown": "I think it is OS problem - you can only do it locally on Linux. It would be great if other OSs are also supported by providing compatible `competion...` files as part of the download.\n@sohier can you ask?",
      "votes": null
    },
    {
      "id": "1582332",
      "postDate": "11/14/2021 18:55:30",
      "content": "<p>I'm having the same issue and none of the posted solutions are working for me either. I'm on Linux, I've tried python 3.7 (and newer), and adding the Kaggle path didn't help.</p>",
      "rawMarkdown": "I'm having the same issue and none of the posted solutions are working for me either. I'm on Linux, I've tried python 3.7 (and newer), and adding the Kaggle path didn't help.",
      "votes": null
    },
    {
      "id": "1582515",
      "postDate": "11/15/2021 01:27:27",
      "content": "<p>I have something like that:</p>\n<pre><code>import sys\nsys.path.insert(1, '.........../g-research-crypto-forecasting')\nimport gresearch_crypto\n</code></pre>\n<p>… works fine on ubuntu.</p>",
      "rawMarkdown": "I have something like that:\n```\nimport sys\nsys.path.insert(1, '.........../g-research-crypto-forecasting')\nimport gresearch_crypto\n```\n... works fine on ubuntu.",
      "votes": null
    },
    {
      "id": "1598601",
      "postDate": "11/28/2021 16:08:54",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/rhianna\" target=\"_blank\">@rhianna</a>, you can try this: <a href=\"https://www.kaggle.com/c/g-research-crypto-forecasting/discussion/291299\" target=\"_blank\">https://www.kaggle.com/c/g-research-crypto-forecasting/discussion/291299</a></p>",
      "rawMarkdown": "Hi @rhianna, you can try this: https://www.kaggle.com/c/g-research-crypto-forecasting/discussion/291299",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1571420,
      "author_name": "brandenkmurray",
      "author_url": "",
      "post_date": "11/04/2021 21:30:27",
      "content": "<p>Make sure you are using Python 3.7. Didn't work for me until I downgraded.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1571541,
          "author_name": "rhianna",
          "author_url": "",
          "post_date": "11/05/2021 00:29:55",
          "content": "<p>doesn't work for me. where u guys find the .competition file?🙊</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1571436,
      "author_name": "sohier",
      "author_url": "",
      "post_date": "11/04/2021 21:47:51",
      "content": "<p>You might need to run:</p>\n<pre><code>import sys\nsys.path.append('~/Desktop/Kaggle/')\n</code></pre>",
      "votes": null,
      "replies": [
        {
          "id": 1571542,
          "author_name": "rhianna",
          "author_url": "",
          "post_date": "11/05/2021 00:30:18",
          "content": "<p>still doesn't work. where u guys find the .competition file?🙊</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1572648,
      "author_name": "mgferreira",
      "author_url": "",
      "post_date": "11/05/2021 20:35:24",
      "content": "<p>I think it is OS problem - you can only do it locally on Linux. It would be great if other OSs are also supported by providing compatible <code>competion...</code> files as part of the download.<br>\n<a href=\"https://www.kaggle.com/sohier\" target=\"_blank\">@sohier</a> can you ask?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1582332,
      "author_name": "jacobgould2",
      "author_url": "",
      "post_date": "11/14/2021 18:55:30",
      "content": "<p>I'm having the same issue and none of the posted solutions are working for me either. I'm on Linux, I've tried python 3.7 (and newer), and adding the Kaggle path didn't help.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1582515,
      "author_name": "kxreev",
      "author_url": "",
      "post_date": "11/15/2021 01:27:27",
      "content": "<p>I have something like that:</p>\n<pre><code>import sys\nsys.path.insert(1, '.........../g-research-crypto-forecasting')\nimport gresearch_crypto\n</code></pre>\n<p>… works fine on ubuntu.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1598601,
      "author_name": "isaac91",
      "author_url": "",
      "post_date": "11/28/2021 16:08:54",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/rhianna\" target=\"_blank\">@rhianna</a>, you can try this: <a href=\"https://www.kaggle.com/c/g-research-crypto-forecasting/discussion/291299\" target=\"_blank\">https://www.kaggle.com/c/g-research-crypto-forecasting/discussion/291299</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1571350": "ModuleNotFoundError                       Traceback (most recent call last)\n<ipython-input-2-c31151b09a5d> in <module>\n----> 1 import gresearch_crypto\n\n~/Desktop/Kaggle/g-research-crypto-forecasting /gresearch_crypto/__init__.py in <module>\n      1 \n----> 2 from .competition import make_env\n      3 \n      4 __all__ = ['make_env']\n\nModuleNotFoundError: No module named 'gresearch_crypto.competition'\n\n\n\n\nDoes anybody have this problem? Download the dataset to local. Couldn't import gresearch_crypto. PLZZZ HELP.",
    "1571420": "Make sure you are using Python 3.7. Didn't work for me until I downgraded.",
    "1571436": "You might need to run:\n```\nimport sys\nsys.path.append('~/Desktop/Kaggle/')\n```",
    "1571541": "doesn't work for me. where u guys find the .competition file?🙊",
    "1571542": "still doesn't work. where u guys find the .competition file?🙊",
    "1572648": "I think it is OS problem - you can only do it locally on Linux. It would be great if other OSs are also supported by providing compatible `competion...` files as part of the download.\n@sohier can you ask?",
    "1582332": "I'm having the same issue and none of the posted solutions are working for me either. I'm on Linux, I've tried python 3.7 (and newer), and adding the Kaggle path didn't help.",
    "1582515": "I have something like that:\n```\nimport sys\nsys.path.insert(1, '.........../g-research-crypto-forecasting')\nimport gresearch_crypto\n```\n... works fine on ubuntu.",
    "1598601": "Hi @rhianna, you can try this: https://www.kaggle.com/c/g-research-crypto-forecasting/discussion/291299"
  },
  "source": "meta"
}