How to install openslide python in windows

Benjamin Gilbert bgilbert at cs.cmu.edu
Sat Nov 8 14:54:37 EST 2014


On 11/08/2014 10:57 AM, Kavitha Raghupathy wrote:
>    File
> "F:\Python342\lib\site-packages\openslide_python-1.0.1-py3.4.egg\openslide\lowlevel.py",
> line 39, in <module>
>      _lib = cdll.LoadLibrary('libopenslide-0.dll')
>    File "F:\Python342\lib\ctypes\__init__.py", line 429, in LoadLibrary
>      return self._dlltype(name)
>    File "F:\Python342\lib\ctypes\__init__.py", line 351, in __init__
>      self._handle = _dlopen(self._name, mode)
> OSError: [WinError 126] The specified module could not be found
>  >>>
> =================================================================
> My windows os is 64-bit.. I downloaded openslide-win64-20140125 ,
> unzipped and copied all the dll files in C:/windows/system32/

Are you using 64-bit Python?

> is there any simple program to check if openslide is installed?

You can move one of the tools out of the bin directory (e.g. 
openslide-show-properties.exe) and see if it runs successfully from a 
different location.

--Benjamin Gilbert



More information about the openslide-users mailing list