{
  "id": 291299,
  "title": "Tutorial on how to import gresearch_crypto on Windows (using WLS)",
  "url": "/competitions/g-research-crypto-forecasting/discussion/291299",
  "author_name": "isaacgg",
  "post_date": "2021-11-28T16:05:53.793000",
  "votes": 4,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Hi, <br>\nI see there're people struggling to make this work on Windows, so here are the steps that I follow to work offline in Windows. I have WSL2 installed, not sure if having this version is mandatory.</p>\n<ol>\n<li>Open Ubuntu subsystem in Windows</li>\n<li>Copy your data to your workspace in WSL<br>\n<code>cp -r YOUR_FOLDER_IN_WINDOWS YOUR_DESIRED_PATH_IN_WSL</code></li>\n<li>a) You can download anaconda from here, but it didn't work for me <code>curl –O https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh</code><br>\nb) Or you can download the .sh file for Ubuntu from the Anaconda webpage and copy it to your WSL using <code>cp ANACONDA_FOR_LINUX.sh SOME_LOCATION_IN_YOUR_WSL</code>. Then execute it with <code>sh ANACONDA_INSTALLER.sh</code></li>\n<li>Make sure to create an environment using python3.7 <code>conda create --name crypto-forecasting python=3.7 pandas scikit-learn numpy notebook</code>.</li>\n<li>Activate your environment and run jupyter notebook, you will see that it prompts something like     <code>\nTo access the notebook, open this file in a browser:\n    file:///home/myuser/.local/share/jupyter/runtime/nbserver-10314-open.html\nOr copy and paste one of these URLs:\n    http://localhost:8888/?token=nv02438c5m38250vn043285vm832225v3295v3246v326\n or http://127.0.0.1:8888/?token=nv02438c5m38250vn043285vm832225v3295v3246v326\n</code><br>\nFinally copy one of these url to your favourite browser in Windows and you are done!</li>\n</ol>",
  "messages": [
    {
      "id": 1598596,
      "postDate": "2021-11-28T16:05:53.793Z",
      "content": "<p>Hi, <br>\nI see there're people struggling to make this work on Windows, so here are the steps that I follow to work offline in Windows. I have WSL2 installed, not sure if having this version is mandatory.</p>\n<ol>\n<li>Open Ubuntu subsystem in Windows</li>\n<li>Copy your data to your workspace in WSL<br>\n<code>cp -r YOUR_FOLDER_IN_WINDOWS YOUR_DESIRED_PATH_IN_WSL</code></li>\n<li>a) You can download anaconda from here, but it didn't work for me <code>curl –O https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh</code><br>\nb) Or you can download the .sh file for Ubuntu from the Anaconda webpage and copy it to your WSL using <code>cp ANACONDA_FOR_LINUX.sh SOME_LOCATION_IN_YOUR_WSL</code>. Then execute it with <code>sh ANACONDA_INSTALLER.sh</code></li>\n<li>Make sure to create an environment using python3.7 <code>conda create --name crypto-forecasting python=3.7 pandas scikit-learn numpy notebook</code>.</li>\n<li>Activate your environment and run jupyter notebook, you will see that it prompts something like     <code>\nTo access the notebook, open this file in a browser:\n    file:///home/myuser/.local/share/jupyter/runtime/nbserver-10314-open.html\nOr copy and paste one of these URLs:\n    http://localhost:8888/?token=nv02438c5m38250vn043285vm832225v3295v3246v326\n or http://127.0.0.1:8888/?token=nv02438c5m38250vn043285vm832225v3295v3246v326\n</code><br>\nFinally copy one of these url to your favourite browser in Windows and you are done!</li>\n</ol>",
      "rawMarkdown": "Hi, \nI see there're people struggling to make this work on Windows, so here are the steps that I follow to work offline in Windows. I have WSL2 installed, not sure if having this version is mandatory.\n\n1. Open Ubuntu subsystem in Windows\n2. Copy your data to your workspace in WSL\n    `cp -r YOUR_FOLDER_IN_WINDOWS YOUR_DESIRED_PATH_IN_WSL`\n3. a) You can download anaconda from here, but it didn't work for me `curl –O https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh`\n   b) Or you can download the .sh file for Ubuntu from the Anaconda webpage and copy it to your WSL using `cp ANACONDA_FOR_LINUX.sh SOME_LOCATION_IN_YOUR_WSL`. Then execute it with `sh ANACONDA_INSTALLER.sh`\n4. Make sure to create an environment using python3.7 `conda create --name crypto-forecasting python=3.7 pandas scikit-learn numpy notebook`.\n5. Activate your environment and run jupyter notebook, you will see that it prompts something like     ```\nTo access the notebook, open this file in a browser:\n        file:///home/myuser/.local/share/jupyter/runtime/nbserver-10314-open.html\n    Or copy and paste one of these URLs:\n        http://localhost:8888/?token=nv02438c5m38250vn043285vm832225v3295v3246v326\n     or http://127.0.0.1:8888/?token=nv02438c5m38250vn043285vm832225v3295v3246v326\n```\nFinally copy one of these url to your favourite browser in Windows and you are done!",
      "votes": 4
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1598596": "Hi, \nI see there're people struggling to make this work on Windows, so here are the steps that I follow to work offline in Windows. I have WSL2 installed, not sure if having this version is mandatory.\n\n1. Open Ubuntu subsystem in Windows\n2. Copy your data to your workspace in WSL\n    `cp -r YOUR_FOLDER_IN_WINDOWS YOUR_DESIRED_PATH_IN_WSL`\n3. a) You can download anaconda from here, but it didn't work for me `curl –O https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh`\n   b) Or you can download the .sh file for Ubuntu from the Anaconda webpage and copy it to your WSL using `cp ANACONDA_FOR_LINUX.sh SOME_LOCATION_IN_YOUR_WSL`. Then execute it with `sh ANACONDA_INSTALLER.sh`\n4. Make sure to create an environment using python3.7 `conda create --name crypto-forecasting python=3.7 pandas scikit-learn numpy notebook`.\n5. Activate your environment and run jupyter notebook, you will see that it prompts something like     ```\nTo access the notebook, open this file in a browser:\n        file:///home/myuser/.local/share/jupyter/runtime/nbserver-10314-open.html\n    Or copy and paste one of these URLs:\n        http://localhost:8888/?token=nv02438c5m38250vn043285vm832225v3295v3246v326\n     or http://127.0.0.1:8888/?token=nv02438c5m38250vn043285vm832225v3295v3246v326\n```\nFinally copy one of these url to your favourite browser in Windows and you are done!"
  }
}