An image processing pipeline for profiling the cellular response around microdevices.
There may be issues with Visual Studio dependencies when using pip to download openslide-python. In this case, you can download pre-built wheels from here. The openslide-python library can then be directly installed by running pip install --no-deps /path/to/whl
. Make sure that the python versions match.
As for openslide itself, download the Windows binary for openslide-python for the appropriate architecture (32-bit vs 64-bit), and unzip into a known location.
Unfortunately, the dll search paths in Windows contain dlls that have the same name as the dlls required for openslide, so the path to the bin folder in the Windows binary has to be added to the beginning of the path directly, using the os
python library.
This can be done by putting the following code at the top of the file:
import os
os.environ['PATH'] = r'C:\path\to\openslide\bin' + ';' + os.environ['PATH']