I created a virtual environment with conda, and installed open slide. I activated my environment, but when I try to run my Python script, I get an error saying:
import openslide
ModuleNotFoundError: No module named 'openslide'
I'm using python3. Any idea what could be wrong?
I installed the package using conda. conda env create -f environment.yml
. File looks like
name: myenv
channels:
- defaults
- conda-forge
- bioconda
dependencies:
- python=3.6.3
- openslide
Try this
pip install openslide-python