{
  "id": 147767,
  "title": "Can't install openslide. Need Help",
  "url": "/competitions/prostate-cancer-grade-assessment/discussion/147767",
  "author_name": "Darius",
  "post_date": "2020-05-01T17:29:39.579000",
  "votes": 1,
  "comment_count": 6,
  "views": 0,
  "content": "<p>I can't install openslide on my system.\nI keep getting WinError 126 or WinError 127,\nI have tried a bunch of things, I tried downloading Win binaries, but the dlls are incompatible, and\nI get the following error:\n\"The procedure entry point iconv could not be located in the dynamic link library libintl-8.dll\"\nI have tried other versions of the dlls, 32 bits, 64 bits,\nnone of them worked.</p>\n\n<p>I tried building openslide for windows, but after spending so much time, downloading Cygwin, it doesn't work. none of the instructions work. They are all outdated.</p>\n\n<p>Can anyone give me clear step by step instructions, on how to install openslide on my laptop, so that, import openslide is executed without any further problem ?</p>\n\n<p>I appreciate it very much,</p>\n\n<p>thank you in advance for your time and consideration.</p>",
  "messages": [
    {
      "id": 829320,
      "postDate": "2020-05-01T17:29:39.580Z",
      "content": "<p>I can't install openslide on my system.\nI keep getting WinError 126 or WinError 127,\nI have tried a bunch of things, I tried downloading Win binaries, but the dlls are incompatible, and\nI get the following error:\n\"The procedure entry point iconv could not be located in the dynamic link library libintl-8.dll\"\nI have tried other versions of the dlls, 32 bits, 64 bits,\nnone of them worked.</p>\n\n<p>I tried building openslide for windows, but after spending so much time, downloading Cygwin, it doesn't work. none of the instructions work. They are all outdated.</p>\n\n<p>Can anyone give me clear step by step instructions, on how to install openslide on my laptop, so that, import openslide is executed without any further problem ?</p>\n\n<p>I appreciate it very much,</p>\n\n<p>thank you in advance for your time and consideration.</p>",
      "rawMarkdown": "I can't install openslide on my system.\nI keep getting WinError 126 or WinError 127,\nI have tried a bunch of things, I tried downloading Win binaries, but the dlls are incompatible, and\nI get the following error:\n\"The procedure entry point iconv could not be located in the dynamic link library libintl-8.dll\"\nI have tried other versions of the dlls, 32 bits, 64 bits,\nnone of them worked.\n\nI tried building openslide for windows, but after spending so much time, downloading Cygwin, it doesn't work. none of the instructions work. They are all outdated.\n\nCan anyone give me clear step by step instructions, on how to install openslide on my laptop, so that, import openslide is executed without any further problem ?\n\nI appreciate it very much,\n\nthank you in advance for your time and consideration.",
      "votes": 1
    },
    {
      "id": 1065012,
      "postDate": "2020-10-30T18:38:28.237Z",
      "content": "<p>Hello<br>\nIs your problem solved. How?<br>\nThis problem involved me a lot.</p>",
      "rawMarkdown": "Hello\nIs your problem solved. How?\nThis problem involved me a lot."
    },
    {
      "id": 866330,
      "postDate": "2020-05-29T09:50:47.410Z",
      "content": "<p>I had same error. i guess the issue is zlib1.dll file which is conflicting the openslide zlib1.dll file. I solved it by uninstalling zlib package from conda environment. reference: <a href=\"https://github.com/openslide/openslide-python/issues/23\">https://github.com/openslide/openslide-python/issues/23</a></p>\n\n<p>Make sure you have covered these links too:\n<a href=\"https://stackoverflow.com/questions/43987081/openslide-python-import-error\">https://stackoverflow.com/questions/43987081/openslide-python-import-error</a></p>",
      "rawMarkdown": "I had same error. i guess the issue is zlib1.dll file which is conflicting the openslide zlib1.dll file. I solved it by uninstalling zlib package from conda environment. reference: https://github.com/openslide/openslide-python/issues/23\n\nMake sure you have covered these links too:\nhttps://stackoverflow.com/questions/43987081/openslide-python-import-error\n"
    },
    {
      "id": 831336,
      "postDate": "2020-05-03T10:08:58.537Z",
      "content": "<p>Hello, </p>\n\n<p>3 steps : </p>\n\n<ul>\n<li><p>Open slide Python : \n\"pip install openslide-python\" </p></li>\n<li><p>OpenSlide : \ndowload from website : <a href=\"https://openslide.org/download/#windows-binaries\">https://openslide.org/download/#windows-binaries</a></p></li>\n<li><p>Add path like this : \nos.environ['PATH'] = \"C:/Users/vince/Downloads/openslide-win64-20171122/openslide-python/bin\" + \";\" + os.environ['PATH'] \nimport openslide</p></li>\n</ul>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F944350%2F143169833283b85b53224a89383d198a%2Fopenslide%20ok.PNG?generation=1588500487219617&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Hello, \n\n3 steps : \n\n- Open slide Python : \n\"pip install openslide-python\" \n\n- OpenSlide : \ndowload from website : https://openslide.org/download/#windows-binaries\n\n- Add path like this : \nos.environ['PATH'] = \"C:/Users/vince/Downloads/openslide-win64-20171122/openslide-python/bin\" + \";\" + os.environ['PATH'] \nimport openslide\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F944350%2F143169833283b85b53224a89383d198a%2Fopenslide%20ok.PNG?generation=1588500487219617&amp;alt=media)\n\n\n"
    },
    {
      "id": 831212,
      "postDate": "2020-05-03T08:32:51.230Z",
      "content": "<p>I had same issue. \nMay the reason is  that openslide-python is only distribute  python3.6 or before.</p>\n\n<p>So you downgrate python then you can command\n\"pip install openslide-python\"</p>\n\n<p>===\nAnd you are windows user, so you use anaconda, I recommend you conda virtual environment</p>\n\n<p><a href=\"https://towardsdatascience.com/manage-your-python-virtual-environment-with-conda-a0d2934d5195\">https://towardsdatascience.com/manage-your-python-virtual-environment-with-conda-a0d2934d5195</a></p>\n\n<p>===\nThanks</p>",
      "rawMarkdown": "I had same issue. \nMay the reason is  that openslide-python is only distribute  python3.6 or before.\n\nSo you downgrate python then you can command\n\"pip install openslide-python\"\n\n===\nAnd you are windows user, so you use anaconda, I recommend you conda virtual environment\n\nhttps://towardsdatascience.com/manage-your-python-virtual-environment-with-conda-a0d2934d5195\n\n===\nThanks"
    },
    {
      "id": 829581,
      "postDate": "2020-05-01T23:36:09.117Z",
      "content": "<p>I have the same problem</p>",
      "rawMarkdown": "I have the same problem"
    },
    {
      "id": 831343,
      "postDate": "2020-05-03T10:16:18.273Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1065012,
      "author_name": "mohamad",
      "author_url": "",
      "post_date": "2020-10-30T18:38:28.237000",
      "content": "<p>Hello<br>\nIs your problem solved. How?<br>\nThis problem involved me a lot.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 866330,
      "author_name": "PurplePhoenix",
      "author_url": "",
      "post_date": "2020-05-29T09:50:47.410000",
      "content": "<p>I had same error. i guess the issue is zlib1.dll file which is conflicting the openslide zlib1.dll file. I solved it by uninstalling zlib package from conda environment. reference: <a href=\"https://github.com/openslide/openslide-python/issues/23\">https://github.com/openslide/openslide-python/issues/23</a></p>\n\n<p>Make sure you have covered these links too:\n<a href=\"https://stackoverflow.com/questions/43987081/openslide-python-import-error\">https://stackoverflow.com/questions/43987081/openslide-python-import-error</a></p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 831336,
      "author_name": "Vincent Lugat",
      "author_url": "",
      "post_date": "2020-05-03T10:08:58.537000",
      "content": "<p>Hello, </p>\n\n<p>3 steps : </p>\n\n<ul>\n<li><p>Open slide Python : \n\"pip install openslide-python\" </p></li>\n<li><p>OpenSlide : \ndowload from website : <a href=\"https://openslide.org/download/#windows-binaries\">https://openslide.org/download/#windows-binaries</a></p></li>\n<li><p>Add path like this : \nos.environ['PATH'] = \"C:/Users/vince/Downloads/openslide-win64-20171122/openslide-python/bin\" + \";\" + os.environ['PATH'] \nimport openslide</p></li>\n</ul>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F944350%2F143169833283b85b53224a89383d198a%2Fopenslide%20ok.PNG?generation=1588500487219617&amp;alt=media\" alt=\"\"></p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 831212,
      "author_name": "hiro_yoshimura",
      "author_url": "",
      "post_date": "2020-05-03T08:32:51.230000",
      "content": "<p>I had same issue. \nMay the reason is  that openslide-python is only distribute  python3.6 or before.</p>\n\n<p>So you downgrate python then you can command\n\"pip install openslide-python\"</p>\n\n<p>===\nAnd you are windows user, so you use anaconda, I recommend you conda virtual environment</p>\n\n<p><a href=\"https://towardsdatascience.com/manage-your-python-virtual-environment-with-conda-a0d2934d5195\">https://towardsdatascience.com/manage-your-python-virtual-environment-with-conda-a0d2934d5195</a></p>\n\n<p>===\nThanks</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 829581,
      "author_name": "zhangeng",
      "author_url": "",
      "post_date": "2020-05-01T23:36:09.117000",
      "content": "<p>I have the same problem</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 831343,
      "author_name": "",
      "author_url": "",
      "post_date": "2020-05-03T10:16:18.273000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "829320": "I can't install openslide on my system.\nI keep getting WinError 126 or WinError 127,\nI have tried a bunch of things, I tried downloading Win binaries, but the dlls are incompatible, and\nI get the following error:\n\"The procedure entry point iconv could not be located in the dynamic link library libintl-8.dll\"\nI have tried other versions of the dlls, 32 bits, 64 bits,\nnone of them worked.\n\nI tried building openslide for windows, but after spending so much time, downloading Cygwin, it doesn't work. none of the instructions work. They are all outdated.\n\nCan anyone give me clear step by step instructions, on how to install openslide on my laptop, so that, import openslide is executed without any further problem ?\n\nI appreciate it very much,\n\nthank you in advance for your time and consideration.",
    "1065012": "Hello\nIs your problem solved. How?\nThis problem involved me a lot.",
    "866330": "I had same error. i guess the issue is zlib1.dll file which is conflicting the openslide zlib1.dll file. I solved it by uninstalling zlib package from conda environment. reference: https://github.com/openslide/openslide-python/issues/23\n\nMake sure you have covered these links too:\nhttps://stackoverflow.com/questions/43987081/openslide-python-import-error\n",
    "831336": "Hello, \n\n3 steps : \n\n- Open slide Python : \n\"pip install openslide-python\" \n\n- OpenSlide : \ndowload from website : https://openslide.org/download/#windows-binaries\n\n- Add path like this : \nos.environ['PATH'] = \"C:/Users/vince/Downloads/openslide-win64-20171122/openslide-python/bin\" + \";\" + os.environ['PATH'] \nimport openslide\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F944350%2F143169833283b85b53224a89383d198a%2Fopenslide%20ok.PNG?generation=1588500487219617&amp;alt=media)\n\n\n",
    "831212": "I had same issue. \nMay the reason is  that openslide-python is only distribute  python3.6 or before.\n\nSo you downgrate python then you can command\n\"pip install openslide-python\"\n\n===\nAnd you are windows user, so you use anaconda, I recommend you conda virtual environment\n\nhttps://towardsdatascience.com/manage-your-python-virtual-environment-with-conda-a0d2934d5195\n\n===\nThanks",
    "829581": "I have the same problem",
    "831343": ""
  }
}