Problem of loading DLL files by OpenSlide-Python

kwiechen kwiechen1 at gmail.com
Sat Sep 10 03:24:18 EDT 2016



Did you try to import this from the openslide folder? If this is OK you 
may have conflicting DLL versions within your library search path (for 
example zlib)

Kai

2016-09-09 12:32 GMT+02:00 Li Guannan via openslide-users 
<openslide-users at lists.andrew.cmu.edu 
<mailto:openslide-users at lists.andrew.cmu.edu>>:

    Hi,

    I have errors reported as follows when using OpenSlide-Python on
    Windows 10 64 bits,

    File
    "...\AppData\Local\Programs\Python\Python35\lib\site-packages\openslide\lowlevel.py",
    line 41, in <module>
         _lib = cdll.LoadLibrary('libopenslide-0.dll')
    File
    "...\AppData\Local\Programs\Python\Python35\lib\ctypes\__init__.py",
    line 425, in LoadLibrary
         return self._dlltype(name)
    File
    "...\AppData\Local\Programs\Python\Python35\lib\ctypes\__init__.py",
    line 347, in __init__
         self._handle = _dlopen(self._name, mode)
    OSError: [WinError 127]

    I am sure that both OpenSlide and Python are 64bits, and the
    bin folder of OpenSlide is within DLL search path; but it seems like
    that libopenslide-0.dll cannot be located anyway. Anyone has any
    suggestion?


    Many thanks.


    Best,

    Li


    _______________________________________________
    openslide-users mailing list
    openslide-users at lists.andrew.cmu.edu
    <mailto:openslide-users at lists.andrew.cmu.edu>
    https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
    <https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20160910/e3a84647/attachment.html>


More information about the openslide-users mailing list