Closed shenxiaochenn closed 1 year ago
You haven't mentioned the versions of Ubuntu, OpenSlide, and OpenSlide Python you're using. However, it seems likely that you're using some shared libraries from Anaconda and some from Ubuntu, and they're not compatible. You should get OpenSlide and its dependencies either entirely from Ubuntu or entirely from Anaconda.
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libffi.so.7
just run this command in your Ubuntu terminal before running the code that uses the openslide and it works like magic. I was having issue with the same error in WSL environment with Ubuntu-20.04.
Note that it doesn't fix the issue permanently and importing openslide in VS-Code Jupyter notebook is still not working. Will give the updates if issue is fixed. Thank you
Operating system
Ubentu
Platform
x86_64-linux
OpenSlide Python version
None
OpenSlide version
None
Slide format
None
Issue details
I do not know hot to solve this. Can you help me?? thanks