installing openslide

Benjamin Gilbert bgilbert at cs.cmu.edu
Tue May 10 00:19:29 EDT 2016


On Mon, May 09, 2016 at 06:04:22PM -0400, jeremy adler via openslide-users wrote:
> ImportError: Couldn't locate OpenSlide library

Hi Jeremy,

OpenSlide Python is a Python wrapper around OpenSlide.  In order to use it,
you also need to install OpenSlide.  On Mac OS X, the easiest way to do that
is via MacPorts ("port install openslide") or Homebrew
("brew install openslide").

If you already have OpenSlide installed on your system, and you're still
getting this error, it means that OpenSlide Python can't find the OpenSlide
.dylib.  In that case, you may need to add the directory containing the
dylib (e.g. /opt/local/lib in the case of MacPorts) to the
DYLD_LIBRARY_PATH environment variable.

--Benjamin Gilbert


More information about the openslide-users mailing list