I am trying to use openslide's python bindings (http://openslide.org/download/) and have tried just about everything with no success in being able to import openslide
to Python 2.7. Here's my error message:
>>> import openslide
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/openslide/__init__.py", line 29, in <module>
from openslide import lowlevel
File "/usr/local/lib/python2.7/site-packages/openslide/lowlevel.py", line 52, in <module>
raise ImportError("Couldn't locate OpenSlide library")
ImportError: Couldn't locate OpenSlide library
I have pip install openslide-python
successfully, and it seems like it is being recognized by the recognition of line 29 and 52 in packages/openslide.
Any suggestions on how to proceed?
You need to install the openslide library and dependencies, then the python package. Read for instructions for your OS here:
http://openslide.org/download/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With