openslide-tools (dyn) not found in virtual environment
gabrieldernbach opened this issue · 2 comments
gabrieldernbach commented
Context
Issue type (bug report or feature request):
installation / virtualenv / import
Operating system (e.g. Fedora 24, Mac OS 10.11, Windows 10):
mac os 11.4
**Platform (e.g. 64-bit x86, 32-bit ARM):
ARM
OpenSlide Python version (openslide.__version__
):
python 3.9.5
OpenSlide version (openslide.__library_version__
):
openslide: stable 3.4.1 (bottled)
Slide format (e.g. SVS, NDPI, MRXS):
Details
I have installed openslide-tools via brew.
I have installed python via brew first, and later manually via their website (browser + gui).
The openslide-tools installed via brew are available to the interpreter in /opt/homebrew/bin/python3
.
It is not available to the a virtual environment python interpreter residing in /Users/myname/venv/bin/python
.
I definitely need to work in a virtual environment.
I probably need to manually add the openslide-tools lib to the search path. How can I do so?
Kind regards.
bgilbert commented
You should be able to pip install openslide-python
inside the venv and use it from there, as long as the OpenSlide dylib is available in the library search path.
bgilbert commented
Closing due to inactivity.