Windows openslide

Benjamin Gilbert bgilbert at cs.cmu.edu
Sun Sep 23 13:37:35 EDT 2012


On 09/23/2012 07:31 AM, PD Dr. M. Weihrauch wrote:
> I installed Python27 on Windows and got me the openslide-python-0.4.0
> archive as well as the openslide-wind32-20120908 archive.
> Now, I tried:
> python deepzoom_tile.py
> but I received the error "line 25, in <module>... ImportError: no module
> named openslide".

OpenSlide Python is loaded in two phases:

1.  Python loads the OpenSlide package.
2.  The OpenSlide package uses ctypes to load the DLL.

The first step is the one that's failing.  The setup.py script included 
with OpenSlide Python can install the package into Python's search path. 
  Just run:

     python setup.py install

from the distribution directory.

--Benjamin Gilbert



More information about the openslide-users mailing list