I get the error message in the Subject Line. So I looked at the discussion at
https://github.com/openslide/openslide-python/issues/27
and carefully followed all the advice given there, but the error persists.
bgilbert locked the topic on github in December 2019, saying that the problem
was resolved. He also said:
"This is likely to be a problem with your installation, so I'll close. If
you're still seeing this with OpenSlide installed in your library search path,
please reopen.” I don’t know how one can reopen a locked topic on Github.
Perhaps this will do the trick.
I thought the problem was that I installed openslide-python first, and
openslide later, but I tried
sudo port install openslide
first, and that didn’t work.
Here is the command I gave to macports, and the response from macports.This
seems to mean that openslide file(s) are installed, but is there a way of
checking further, in particular checking that there is nothing wrong with the
files?
From the discussion on Github, it seems that the problem may be with Macports.
I could (very reluctantly) delete my Macports installation and reinstate it.
Does anyone have some wise advice?
$ port search openslide
openslide @3.4.1_1 (graphics)
A C library for reading virtual slides.
py-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py27-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py34-openslide @1.1.2_1 (python, graphics)
Obsolete port, replaced by py35-openslide
py35-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py36-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py37-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py38-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py39-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
Found 9 ports.
openslide @3.4.1_1 (graphics)
A C library for reading virtual slides.
py-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py27-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py34-openslide @1.1.2_1 (python, graphics)
Obsolete port, replaced by py35-openslide
py35-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py36-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py37-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py38-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
py39-openslide @1.1.2_1 (python, graphics)
Python binding for the OpenSlide library.
Found 9 ports.