{
  "id": 247726,
  "title": "Notable to submit notebook.\"No matching distribution found for stanza\" on docker?",
  "url": "/competitions/coleridgeinitiative-show-us-the-data/discussion/247726",
  "author_name": "",
  "post_date": "2021-06-21T00:11:48.839579700Z",
  "votes": 3,
  "comment_count": 4,
  "views": 0,
  "content": "<p>My Notebook works perfectly on kaggle. It needs \"stanza' module installed. Due to some reason i need to reinstall every time i restart Kaggle session. If i keep running session Stanza works.  Every time i restart new session, need to reinstall. If my internet is On, then i can create submission file. If i keep internet Off it does not create submission file. Kindly help.</p>",
  "messages": [
    {
      "id": "1358964",
      "postDate": "06/21/2021 00:11:48",
      "content": "<p>My Notebook works perfectly on kaggle. It needs \"stanza' module installed. Due to some reason i need to reinstall every time i restart Kaggle session. If i keep running session Stanza works.  Every time i restart new session, need to reinstall. If my internet is On, then i can create submission file. If i keep internet Off it does not create submission file. Kindly help.</p>",
      "rawMarkdown": "My Notebook works perfectly on kaggle. It needs \"stanza' module installed. Due to some reason i need to reinstall every time i restart Kaggle session. If i keep running session Stanza works.  Every time i restart new session, need to reinstall. If my internet is On, then i can create submission file. If i keep internet Off it does not create submission file. Kindly help.",
      "votes": null
    },
    {
      "id": "1359085",
      "postDate": "06/21/2021 04:23:53",
      "content": "<p>Just to add: It  works fine offline on my PC and on also  Kaggle Notebook after installing Stanza  if i turn off internet, it works fine.  It does not require internet connection to Stanza to work but need installed. Problem arises when i save and commit. (Stanza -  NLP Library By Stanford). It says \"needs  stanza' module installed\". </p>",
      "rawMarkdown": "Just to add: It  works fine offline on my PC and on also  Kaggle Notebook after installing Stanza  if i turn off internet, it works fine.  It does not require internet connection to Stanza to work but need installed. Problem arises when i save and commit. (Stanza -  NLP Library By Stanford). It says \"needs  stanza' module installed\".",
      "votes": null
    },
    {
      "id": "1359911",
      "postDate": "06/21/2021 16:29:58",
      "content": "<p>Currently I think you are installing the package with the internet turned on and then you are turning off the internet after the package is installed. This gives an error when you save the notebook. </p>\n<p>You have to download the .whl file for stanza (<em>stanza-1.2.1-py3-none-any.whl</em>) and place it in the input folder of your kernel. You can then install the package as shown below:</p>\n<p><code>!pip install ../input/{folder_name}/stanza-1.2.1-py3-none-any.whl</code></p>\n<p>This way it installs the package offline.  Hope this helps. </p>",
      "rawMarkdown": "Currently I think you are installing the package with the internet turned on and then you are turning off the internet after the package is installed. This gives an error when you save the notebook. \n\nYou have to download the .whl file for stanza (*stanza-1.2.1-py3-none-any.whl*) and place it in the input folder of your kernel. You can then install the package as shown below:\n\n`!pip install ../input/{folder_name}/stanza-1.2.1-py3-none-any.whl`\n\nThis way it installs the package offline.  Hope this helps.",
      "votes": null
    },
    {
      "id": "1360009",
      "postDate": "06/21/2021 18:09:33",
      "content": "<p><a href=\"https://www.kaggle.com/Kartik\" target=\"_blank\">@Kartik</a> B Bhargav , Thank you for your reply :-)<br>\nInput directory is read only so i used 'kaggle/working' directory<br>\nI tried . It works for other packages but not working for Stanza. May be some dependency issue. I tried to resolve dependency of Pytorch(as mentioned on Stanford Stanza package website) which also did not work.</p>",
      "rawMarkdown": "Kartik B Bhargav , Thank you for your reply :-)\nInput directory is read only so i used 'kaggle/working' directory\nI tried . It works for other packages but not working for Stanza. May be some dependency issue. I tried to resolve dependency of Pytorch(as mentioned on Stanford Stanza package website) which also did not work.",
      "votes": null
    },
    {
      "id": "1360753",
      "postDate": "06/22/2021 10:25:23",
      "content": "<p>I am able to use solution. I could not directly download so uploaded as database to Input directory , from there i use installed it. Thank you very much for your suggestion.</p>",
      "rawMarkdown": "I am able to use solution. I could not directly download so uploaded as database to Input directory , from there i use installed it. Thank you very much for your suggestion.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1359085,
      "author_name": "ramesh084",
      "author_url": "",
      "post_date": "06/21/2021 04:23:53",
      "content": "<p>Just to add: It  works fine offline on my PC and on also  Kaggle Notebook after installing Stanza  if i turn off internet, it works fine.  It does not require internet connection to Stanza to work but need installed. Problem arises when i save and commit. (Stanza -  NLP Library By Stanford). It says \"needs  stanza' module installed\". </p>",
      "votes": null,
      "replies": [
        {
          "id": 1359911,
          "author_name": "kartikbhargav",
          "author_url": "",
          "post_date": "06/21/2021 16:29:58",
          "content": "<p>Currently I think you are installing the package with the internet turned on and then you are turning off the internet after the package is installed. This gives an error when you save the notebook. </p>\n<p>You have to download the .whl file for stanza (<em>stanza-1.2.1-py3-none-any.whl</em>) and place it in the input folder of your kernel. You can then install the package as shown below:</p>\n<p><code>!pip install ../input/{folder_name}/stanza-1.2.1-py3-none-any.whl</code></p>\n<p>This way it installs the package offline.  Hope this helps. </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1360753,
          "author_name": "ramesh084",
          "author_url": "",
          "post_date": "06/22/2021 10:25:23",
          "content": "<p>I am able to use solution. I could not directly download so uploaded as database to Input directory , from there i use installed it. Thank you very much for your suggestion.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1360009,
      "author_name": "ramesh084",
      "author_url": "",
      "post_date": "06/21/2021 18:09:33",
      "content": "<p><a href=\"https://www.kaggle.com/Kartik\" target=\"_blank\">@Kartik</a> B Bhargav , Thank you for your reply :-)<br>\nInput directory is read only so i used 'kaggle/working' directory<br>\nI tried . It works for other packages but not working for Stanza. May be some dependency issue. I tried to resolve dependency of Pytorch(as mentioned on Stanford Stanza package website) which also did not work.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1358964": "My Notebook works perfectly on kaggle. It needs \"stanza' module installed. Due to some reason i need to reinstall every time i restart Kaggle session. If i keep running session Stanza works.  Every time i restart new session, need to reinstall. If my internet is On, then i can create submission file. If i keep internet Off it does not create submission file. Kindly help.",
    "1359085": "Just to add: It  works fine offline on my PC and on also  Kaggle Notebook after installing Stanza  if i turn off internet, it works fine.  It does not require internet connection to Stanza to work but need installed. Problem arises when i save and commit. (Stanza -  NLP Library By Stanford). It says \"needs  stanza' module installed\".",
    "1359911": "Currently I think you are installing the package with the internet turned on and then you are turning off the internet after the package is installed. This gives an error when you save the notebook. \n\nYou have to download the .whl file for stanza (*stanza-1.2.1-py3-none-any.whl*) and place it in the input folder of your kernel. You can then install the package as shown below:\n\n`!pip install ../input/{folder_name}/stanza-1.2.1-py3-none-any.whl`\n\nThis way it installs the package offline.  Hope this helps.",
    "1360009": "Kartik B Bhargav , Thank you for your reply :-)\nInput directory is read only so i used 'kaggle/working' directory\nI tried . It works for other packages but not working for Stanza. May be some dependency issue. I tried to resolve dependency of Pytorch(as mentioned on Stanford Stanza package website) which also did not work.",
    "1360753": "I am able to use solution. I could not directly download so uploaded as database to Input directory , from there i use installed it. Thank you very much for your suggestion."
  },
  "source": "meta"
}